Advertise WorkspaceSymbolClientCapabilities support (#3361)

This commit is contained in:
Michael Davis 2022-08-08 21:51:10 -05:00 committed by GitHub
parent 634b6d455f
commit 672ea98b05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -295,6 +295,10 @@ impl Client {
}), }),
workspace_folders: Some(true), workspace_folders: Some(true),
apply_edit: Some(true), apply_edit: Some(true),
symbol: Some(lsp::WorkspaceSymbolClientCapabilities {
dynamic_registration: Some(false),
..Default::default()
}),
..Default::default() ..Default::default()
}), }),
text_document: Some(lsp::TextDocumentClientCapabilities { text_document: Some(lsp::TextDocumentClientCapabilities {