LSP: Advertise snippet support

This commit is contained in:
Michael Davis 2022-10-30 16:39:27 -05:00 committed by Blaž Hrastnik
parent b9b1ec2208
commit d2af31b916

View file

@ -320,7 +320,7 @@ impl Client {
text_document: Some(lsp::TextDocumentClientCapabilities {
completion: Some(lsp::CompletionClientCapabilities {
completion_item: Some(lsp::CompletionItemCapability {
snippet_support: Some(false),
snippet_support: Some(true),
resolve_support: Some(lsp::CompletionItemCapabilityResolveSupport {
properties: vec![
String::from("documentation"),