helix-mods/helix-lsp
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.
2022-11-19 13:14:36 +09:00
..
src Handle language server termination (#4797) 2022-11-19 13:14:36 +09:00
Cargo.toml build(deps): bump tokio-stream from 0.1.10 to 0.1.11 (#4341) 2022-10-17 19:56:29 -05:00