zed/crates/lsp
Piotr Osiewicz e34c443331
lsp: Do not set error/result fields if they're missing. (#10610)
We were previously not conforming to LSP spec, as we were setting
**both** result field and error field on response fields, which could
confuse servers. Excerpt from the spec:
> * The result of a request. This member is REQUIRED on success.
> * This member MUST NOT exist if there was an error invoking the
method.

Fixes #10595

Release Notes:

- N/A
2024-04-16 14:27:12 +02:00
..
src lsp: Do not set error/result fields if they're missing. (#10610) 2024-04-16 14:27:12 +02:00
Cargo.toml
LICENSE-GPL