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 windows: Prevent command line from opening in release mode (#9839) 2024-03-27 11:30:23 -07:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00