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-plus/helix-term
Michael Davis 9059c65a53
lsp: Check server provider capabilities (#3554)
Language Servers may signal that they do not support a method in
the initialization result (server capabilities). We can check these
when making LSP requests and hint in the status line when a method
is not supported by the server. This can also prevent crashes in
servers which assume that clients do not send requests for methods
which are disabled in the server capabilities.

There is an existing pattern the LSP client module where a method
returns `Option<impl Future<Output = Result<_>>>` with `None` signaling
no support in the server. This change extends this pattern to the rest
of the client functions. And we log an error to the statusline for
manually triggered LSP calls which return `None`.
2 years ago
..
src lsp: Check server provider capabilities (#3554) 2 years ago
tests Fix range offsets for multiple shell insertions (#4619) 2 years ago
.gitignore Initial import. 4 years ago
Cargo.toml build(deps): bump once_cell from 1.15.0 to 1.16.0 (#4548) 2 years ago
build.rs Resolve a bunch of upcoming clippy lints 2 years ago