-
Notifications
You must be signed in to change notification settings - Fork 114
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
LSP status stuck even though the LSP server is restarted #175
Comments
I'm not a Go developer, so you'll need to be more specific in how I can reproduce this error. |
That is totally okay, thanks for your time @folke, I would try to do my best on explaining this further. As I understand it, the issue is compared to other language servers When the But when the language server is explicitly reloaded to reflect the changes on the mod file, by tidying the mod file therefore reinstalling the dependencies, it does not pick this automatically so it needs to be restarted. Even though the language server works properly after being restarted, Noice still picks up the error from the old instance indefinitely, causing the neovim to slow down and constantly show the given message. I do not think this issue affects many language servers, because this is not the usual flow. |
If you have golang installed, you can reproduce it as follows:
|
Should be fixed now. Let me know if you have any more issues. |
Thanks, @folke, I can confirm this fixes the related issue. |
Thank you @folke for your all work on many plugins that I dearly enjoy!
Describe the bug
LSP status gets stuck whenever there is a error coming from the language server, even though the language server has been restarted.
Which version of Neovim are you using?
Nightly
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
Language server should go away whenever the LSP is restarted.
Screenshots
Noice Log
Please include any related errors from the Noice log file. (open with
:Noice log
)Noice log
The text was updated successfully, but these errors were encountered: