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/src
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
..
commands lsp: Check server provider capabilities (#3554) 2 years ago
keymap Change diagnostic picker keybind to <space>d (#4229) 2 years ago
ui lsp: Check server provider capabilities (#3554) 2 years ago
application.rs Handle language server termination (#4797) 2 years ago
args.rs Fix confusion with using --hsplit --vsplit on startup at same time (#4202) 2 years ago
commands.rs lsp: Check server provider capabilities (#3554) 2 years ago
compositor.rs fix test compilation 2 years ago
config.rs Move top level lsp config to editor.lsp (#1868) 2 years ago
health.rs Show clipboard info in --health output (#2947) 2 years ago
job.rs remove Callback::Compositor variant 2 years ago
keymap.rs Improve keymap errors from command typos (#3931) 2 years ago
lib.rs Add refresh-config and open-config command (#1803) 2 years ago
main.rs document should save even if formatter fails 2 years ago