-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Jump-to-error not working in nvim #30
Comments
With default config (without custom
nvim may create several socket files but only Do you have this socket file while nvim is running? Do you have this socket file when nvim is not running? If yes — try to remove this file and rerun nvim. For now the only known buggy case when nvim-send is not invoked is if nvim crashed/killed. This results to not removing the socket file and next time nvim plugin thinks that server is already running, so it doesn't recreate the socket file. If you run multiple instances of nvim in your project (sub)directory — only the first instance should jump to error lines, that's normal behavior.
For now there is no logging. I might will add it in future if it really makes sense. If the issue still reproduces for you:
Thanks. |
|
Thank you for the detailed response! Frustratingly enough, everything started working again, and I'm not sure what I did. I don't actually think I did anything, so I still don't know what went wrong 😭 If it happens again, I'll refer to your message to debug. What you wrote is so comprehensive, I'd consider adding it to the docs on the editor integration. |
Jump-to-error in nvim has been working sporadically for me. It's entirely possible that this is due to a config error on my part.
I have cargo-limit binaries and
nvim-sendin my path:In my
.vimrcI have:However, running something like
cargo lcheckdoesn't seem to invoke myg:CargoLimitOpen. I'm a bit of a loss as to how to debug this. Do you have any advice? The main question I'm trying to answer is: How does cargo-limit invoke nvim-send? Can I get it to print out logs? How does it find my nvim server?I do seem to have an nvim server,
:echo v:servernameprints out:Which when I pass to nvim-send:
Does seem to work.
The text was updated successfully, but these errors were encountered: