You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-lsp/src
Michael Davis 8be2d1dcbf
Handle language server termination (#4797)
This change handles a language server exiting. This was a UX sore-spot:
if a language server crashed, Helix did not recognize the exit and
continued to send requests to it. All requests would timeout since they
would not receive responses. This would also hold-up Helix closing
itself down since it would try to gracefully shutdown the server which
is implemented in the LSP spec as a request.

We could attempt to automatically restart the language server on crash.
I left this for future work since that change will need to be slightly
complicated: it will need to cover the case of a language server
repeatedly crashing.
2 years ago
..
client.rs lsp: Resolve completion item asynchronously on idle-timeout (#4781) 2 years ago
jsonrpc.rs Resolve a bunch of upcoming clippy lints 2 years ago
lib.rs Handle language server termination (#4797) 2 years ago
transport.rs Handle language server termination (#4797) 2 years ago