summaryrefslogtreecommitdiff
path: root/helix-lsp/src
diff options
context:
space:
mode:
authorMichael Davis2022-08-09 02:51:10 +0000
committerGitHub2022-08-09 02:51:10 +0000
commit672ea98b05dedafef38ef031fa3134b06564dd22 (patch)
treefd41fffd5af808abd4b1be60da5d2be44dbf4905 /helix-lsp/src
parent634b6d455f064116c609e7cfa1b2b45e51f40029 (diff)
Advertise WorkspaceSymbolClientCapabilities support (#3361)
Diffstat (limited to 'helix-lsp/src')
-rw-r--r--helix-lsp/src/client.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index f6cec6aa..9ae8f20e 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -295,6 +295,10 @@ impl Client {
}),
workspace_folders: Some(true),
apply_edit: Some(true),
+ symbol: Some(lsp::WorkspaceSymbolClientCapabilities {
+ dynamic_registration: Some(false),
+ ..Default::default()
+ }),
..Default::default()
}),
text_document: Some(lsp::TextDocumentClientCapabilities {