lsp-types icon indicating copy to clipboard operation
lsp-types copied to clipboard

Fix `WorkspaceClientCapabilities` to match LSP specification

Open snowsignal opened this issue 10 months ago • 0 comments

The diagnostic field on WorkspaceClientCapabilities is actually supposed to be called diagnostics. This can be confirmed in the LSP specification.

Screenshot 2024-04-16 at 6 41 18 PM

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.

snowsignal avatar Apr 17 '24 01:04 snowsignal