diff options
author | Michael Davis | 2023-03-13 00:29:58 +0000 |
---|---|---|
committer | GitHub | 2023-03-13 00:29:58 +0000 |
commit | 4f066b1cc628e2d3c69da9bdd0b16f1a8e74ce6f (patch) | |
tree | efd67820c6cf8bf8119ac414ce230723423e90b7 /helix-lsp/src | |
parent | 1126af53b4daa2123ae13d71500cdf5dfd85f386 (diff) |
LSP: No-op client/registerCapability requests (#6258)
Diffstat (limited to 'helix-lsp/src')
-rw-r--r-- | helix-lsp/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs index e31df59f..5609a624 100644 --- a/helix-lsp/src/lib.rs +++ b/helix-lsp/src/lib.rs @@ -526,6 +526,7 @@ pub enum MethodCall { ApplyWorkspaceEdit(lsp::ApplyWorkspaceEditParams), WorkspaceFolders, WorkspaceConfiguration(lsp::ConfigurationParams), + RegisterCapability(lsp::RegistrationParams), } impl MethodCall { @@ -545,6 +546,10 @@ impl MethodCall { let params: lsp::ConfigurationParams = params.parse()?; Self::WorkspaceConfiguration(params) } + lsp::request::RegisterCapability::METHOD => { + let params: lsp::RegistrationParams = params.parse()?; + Self::RegisterCapability(params) + } _ => { return Err(Error::Unhandled); } |