-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Firenvim has started reporting "neovim is not responding" #1593
Comments
Hi, thank you for attempting to debug this yourself! The strace file is useful, we can see that Neovim managed to start and even load a bunch of plugins. We can also see that it writes some shada and properly closes the file descriptor, making me think that it's probably shutting down properly instead of crashing. This is further confirmed by I guess we'll need to check whether messages are properly sent to neovim by the browser. Could you edit the firenvim script (usually Then, attempting to run firenvim by clicking on a textarea a couple of times should create |
With those modifications, in
That doesn't reproduce when running e.g.
And In case it's important, I'm using neovim 0.9.5. |
Thanks! Stdin looks as expected, but stderr does not. I don't understand where this "attempt to index a boolean value" comes from. The stack trace being anonymous + the problem coming from luaeval mean that the problem has to be here: https://github.com/glacambre/firenvim/blob/master/autoload/firenvim.vim#L198-L200 . The only indexing happening there is This can be confirmed by making a dummy lua module that returns
So this means that there is a problem with your plugin manager, it is not installing firenvim or loading it properly. I can't help you more than that without seeing your exact config. |
Thanks, that was very helpful. I've identified the culprit, but I remain confused. First, the entire configuration is available here. There is a file Is this some sort of naming conflict? |
Indeed, if I name it anything else, everything works as expected. |
Aha! I guess neovim sees it first in its runtime path and loads it instead of https://github.com/glacambre/firenvim/blob/master/lua/firenvim.lua . |
No, this was all part of ditching my old |
I think I might be able to at least improve error messages for this problem. |
Firenvim was previously working, but now has started reporting "neovim is not responding". I've walked through the troubleshooting guide and I've gotten as far as "Make sure the browser extension can communicate with neovim". In the background page, I see:
When I load a new page in the browser and then run
ps -fe |grep firenvim
in a terminal, I see:But that command exits after a few seconds. If I run
strace -p <pid> -f
on that process before it exits, I see this, which I hope is more useful to you than it is to me (I don't see any obvious errors).My neovim configuration is currently https://github.com/LazyVim/starter, firenvim, and some lsp configuration installed with Mason.
The text was updated successfully, but these errors were encountered: