helix/helix-lsp
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
..
src prevent panic when handling an LSP response with no request (#2475) 2022-05-17 14:45:34 +09:00
Cargo.toml build(deps): bump tokio from 1.17.0 to 1.18.1 (#2373) 2022-05-03 09:31:05 +09:00