Closed mattsawyer77 closed 8 years ago
FWIW: to my surprise, I realized I can open Neovim.app from the Finder by ctrl-clicking a file, then doing Open With, and then selecting Neovim.app. But just trying to open Neovim.app on its own thru Spotlight or the aforementioned methods always fails.
having the same issue. any fix in sight?
In this case it seems that gnvim (and possibly even the dock / spotlight) is trying to open Neovim at /Users/sawyer/src/neovim-dot-app/build/Neovim.app
and not /usr/local/opt/neovim-dot-app/Neovim.app
where it would be installed by homebrew. You can try resetting launch services database and trying again.
cd /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/
./lsregister -kill -r -domain local -domain system -domain user
Another thing that was noted in #205 is that the spotlight may not display the Neovim.app
if you do a brew linkapps
. To resolve this you would need to create an alias or copy over the /usr/local/opt/neovim-dot-app/Neovim.app
directory to /Applications/
Hope this helps!
Thanks, this fixed my issue. At one point I had tried to build neovim-dot-app myself instead of using homebrew. I removed the other instance, reset the services cache, then I hit issue #205 at which point I just did cp -a /usr/local/opt/neovim-dot-app/Neovim.app /Applications
. Now Spotlight and gnvim are launching as expected.
I'm only able to launch the app from the terminal using
open -a /Applications/Neovim.app/Contents/MacOS/Neovim
Attempting to launch via Spotlight or the Dock results in a dialog stating:
gnvim
results in the same dialog, and also this in the terminal:I saw this error message in https://github.com/rogual/neovim-dot-app/issues/239 but I was unsure of the resolution. I've reinstalled neovim (with --HEAD) a few times, to no avail.
I'm running OS X 10.11.6, and my shell is zsh.
nvim --version
: