helix-mods/helix-lsp/src
Michael Davis 50dd11985c
prevent panic when handling an LSP response with no request (#2475)
A language server may push a response which doesn't belong to any
request. With this change, we discard the response rather than
crashing.

In the case of #2474, the language server sends an error message
with a null request ID which should not ever exist in the
`pending_requests` HashMap.

closes #2474
2022-05-17 14:45:34 +09:00
..
client.rs configurable lsp request timeout (#2405) 2022-05-11 09:54:35 +09:00
lib.rs Don't panic on LSP parsing errors 2022-05-11 11:00:55 +09:00
transport.rs prevent panic when handling an LSP response with no request (#2475) 2022-05-17 14:45:34 +09:00