-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Automatically restart language servers which exit unexpectedly #6398
Comments
I don't have any code to show for it, but I spent some time looking at this and wanted to leave some info here in case it's useful to someone who's better at Rust than I am. It seems to me that the important changes here would live in the code for the LSP |
#4797 left automatic restarts for langauge servers as future work. We should automatically restart a language server that exits unexpectedly some fixed number of times before giving up on it. We should give up after a number of tries since a language server could exit immediately after starting repeatedly. After that,
:lsp-restart
can be used to manually restart it.The text was updated successfully, but these errors were encountered: