helix/helix-lsp/src
Michael Davis e6dad960cf
Drain pending requests on language server termination (#4852)
This prevents a freeze while shutting down when using `efm-langserver`.
`efm-langserver` exits immediately after seeing a shutdown request,
without responding to the request. We block awaiting the reply to the
shutdown request which will never come, so we time out.

This change responds to any pending requests with `Err` saying that the
stream has been closed.
2022-11-24 11:07:42 +09:00
..
client.rs lsp: Check server provider capabilities (#3554) 2022-11-22 11:52:23 +09:00
jsonrpc.rs Resolve a bunch of upcoming clippy lints 2022-11-04 21:06:28 +09:00
lib.rs Handle language server termination (#4797) 2022-11-19 13:14:36 +09:00
transport.rs Drain pending requests on language server termination (#4852) 2022-11-24 11:07:42 +09:00