mirror of
https://github.com/helix-editor/helix.git
synced 2025-01-19 13:37:06 +04:00
lsp: Disable snippet_support until we implement it.
This commit is contained in:
parent
004a4f37a7
commit
61ce2c9cfe
@ -189,12 +189,25 @@ pub async fn initialize(&mut self) -> Result<()> {
|
||||
root_uri: None, // set to project root in the future
|
||||
initialization_options: None,
|
||||
capabilities: lsp::ClientCapabilities {
|
||||
// text_document:
|
||||
// { completion: {
|
||||
// dynamic_registration: bool
|
||||
// completion_item: { snippet, documentation_format, ... }
|
||||
// completion_item_kind: { }
|
||||
// } }
|
||||
text_document: Some(lsp::TextDocumentClientCapabilities {
|
||||
completion: Some(lsp::CompletionClientCapabilities {
|
||||
completion_item: Some(lsp::CompletionItemCapability {
|
||||
snippet_support: Some(false), // TODO
|
||||
..Default::default()
|
||||
}),
|
||||
completion_item_kind: Some(lsp::CompletionItemKindCapability {
|
||||
..Default::default()
|
||||
}),
|
||||
context_support: None, // additional context information Some(true)
|
||||
..Default::default()
|
||||
}),
|
||||
// { completion: {
|
||||
// dynamic_registration: bool
|
||||
// completion_item: { snippet, documentation_format, ... }
|
||||
// completion_item_kind: { }
|
||||
// } }
|
||||
..Default::default()
|
||||
}),
|
||||
..Default::default()
|
||||
},
|
||||
trace: None,
|
||||
|
@ -31,7 +31,7 @@ futures-util = "0.3"
|
||||
|
||||
# Logging
|
||||
fern = "0.6"
|
||||
chrono = "0.4"
|
||||
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|
||||
log = "0.4"
|
||||
|
||||
# File picker
|
||||
|
Loading…
Reference in New Issue
Block a user