From d8737867107f5bf8f83b18bc62cab3a6013ef0aa Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 1 Feb 2022 18:20:47 +0100 Subject: [PATCH] Advertise `snippet_support` capability to LSP Co-Authored-By: Nathan Sobo Co-Authored-By: Max Brunsfeld --- crates/lsp/src/lsp.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs index 803148427f..cd235e8151 100644 --- a/crates/lsp/src/lsp.rs +++ b/crates/lsp/src/lsp.rs @@ -236,6 +236,7 @@ impl LanguageServer { }), completion: Some(CompletionClientCapabilities { completion_item: Some(CompletionItemCapability { + snippet_support: Some(true), resolve_support: Some(CompletionItemCapabilityResolveSupport { properties: vec!["additionalTextEdits".to_string()], }),