mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Advertise snippet_support
capability to LSP
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
6c7d2cf6b5
commit
d873786710
1 changed files with 1 additions and 0 deletions
|
@ -236,6 +236,7 @@ impl LanguageServer {
|
||||||
}),
|
}),
|
||||||
completion: Some(CompletionClientCapabilities {
|
completion: Some(CompletionClientCapabilities {
|
||||||
completion_item: Some(CompletionItemCapability {
|
completion_item: Some(CompletionItemCapability {
|
||||||
|
snippet_support: Some(true),
|
||||||
resolve_support: Some(CompletionItemCapabilityResolveSupport {
|
resolve_support: Some(CompletionItemCapabilityResolveSupport {
|
||||||
properties: vec!["additionalTextEdits".to_string()],
|
properties: vec!["additionalTextEdits".to_string()],
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue