-
-
Notifications
You must be signed in to change notification settings - Fork 554
Fix: Neovide.app not working in Finder #1242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I don't understand really... if neovim is not part of the Path, that means one can also not run it in the terminal without specifying the full path to the binary. This looks rather like a local dev setup thing problem. I think hardcoding the path like this is not a solution, especially not for a broader audience, as for me the and yes i use |
@danielnehrig Thanks for your feedback
Yes, I agree 100%. As I have already said, this is a very bad idea. And, in your environment this shouldn't be a problem. Because, it's more correct to say that this is a problem in the brew used by Apple Slicon. When installing I tried to assign It would be nice to have a more fundamental solution, but I actually don't know a good solution yet. (This PR is just one example.) One way to avoid modifying the code is simply to create an |
what about let the user fill out the path himself in this case add |
Sorry! please make sure I understand correctly. Is your intention correct to mean that the user registers |
I found a section in Homebrew documentation talking about this issue. Hope it helps. |
@henryhchchc Oh! Thanks 😄 I didn't know that. |
This seems to work for opening the GUI in finder but it is still not possible to open it from spotlight/alfred. Symlinking nvim to /usr/local/bin ( ln -s /opt/homebrew/bin/nvim /usr/local/bin/nvim ) fixes that but neovide will always launch in the /usr/local/bin folder which seems to break the telescope plugin. |
This PR resolve #1240
What kind of change does this PR introduce?
Did this PR introduce a breaking change?
The content in #1217 is getting long, so I'm making this PR with a new alternative.
I hadn't thought of this PR (#1072), so currently
Neovide.app
cannot be run through Finder on macOS.However, this still leaves some problems.For example, if neovim is installed throughbrew
, it will not run (in Finder) becausenvim
does not exist in thePATH
variable (default installation path is/opt/homebrew/bin/
).But one thing I'm concerned about is that hardcoding the settings of a 3rd party app has maintenance issues later on.So, if there is a better way, please give feedback.
EDIT: Thank you, everyone. I removed direct hardcoding of brew to
PATH
and added a way to solve this problem instead.