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 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.
2 years ago
..
client.rs lsp: Check server provider capabilities (#3554) 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 Drain pending requests on language server termination (#4852) 2 years ago