You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-term
Michael Davis d3f8e0592b
LSP: Discard publishDiagnostic from uninitialized servers (#7467)
The spec explicitly disallows publishDiagnostic to be sent before
the initialize response:

> ... the server is not allowed to send any requests or notifications to
> the client until it has responded with an InitializeResult ...

(https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initialize)

But if a non-compliant server sends this we currently panic because we
'.expect()' the server capabilities to be known to fetch the position
encoding. Instead of panicking we can discard the notification and log
the non-compliant behavior.
1 year ago
..
src LSP: Discard publishDiagnostic from uninitialized servers (#7467) 1 year ago
tests Add config for default line ending (#5621) 1 year ago
.gitignore Initial import. 4 years ago
Cargo.toml build(deps): bump libc from 0.2.146 to 0.2.147 (#7463) 1 year ago
build.rs feat(lsp): pass client_info on initialization (#4904) 2 years ago