mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 10:56:19 +04:00
8be2d1dcbf
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |