davidgranstrom / scnvim

Neovim frontend for SuperCollider.
GNU General Public License v3.0
197 stars 26 forks source link

macos bugfix: allow .app in subfolder #232

Closed redFrik closed 8 months ago

redFrik commented 9 months ago

All paths in the locations array were not considered because the if test always returned true (i.e. the SuperCollider.app had to sit in /Applications). The test should be ~= 0 and thn SuperCollider.app can live inside the subfolder /Applications/SuperCollider.

ref: https://github.com/davidgranstrom/scnvim/issues/200

macOS Mojave, SC 3.13.0, nvim v0.9.5

davidgranstrom commented 8 months ago

Good catch, thanks!