lsp-types
lsp-types copied to clipboard
Fix `WorkspaceClientCapabilities` to match LSP specification
The diagnostic
field on WorkspaceClientCapabilities
is actually supposed to be called diagnostics
. This can be confirmed in the LSP specification.
A consequence of this mis-naming is that DiagnosticWorkspaceClientCapabilities
are never de-serialized, and diagnostic
will always be None
. That's why it needs to be changed to diagnostics
.