aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp
diff options
context:
space:
mode:
authorAndrey Tkachenko2022-04-16 01:43:54 +0000
committerGitHub2022-04-16 01:43:54 +0000
commitdc8fef5dd311e239150dfcd62c90cc84ee32a8a0 (patch)
tree480a71e2a74bc532f08850b44d5ca48d1089090a /helix-lsp
parentb04c425c63d03f8320eb47ab6e38e4bb79763248 (diff)
Fixes #1991 LSP Auto-import (#2088)
Diffstat (limited to 'helix-lsp')
-rw-r--r--helix-lsp/src/client.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index 8b14b0b8..14918818 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -293,6 +293,13 @@ impl Client {
completion: Some(lsp::CompletionClientCapabilities {
completion_item: Some(lsp::CompletionItemCapability {
snippet_support: Some(false),
+ resolve_support: Some(lsp::CompletionItemCapabilityResolveSupport {
+ properties: vec![
+ String::from("documentation"),
+ String::from("detail"),
+ String::from("additionalTextEdits"),
+ ],
+ }),
..Default::default()
}),
completion_item_kind: Some(lsp::CompletionItemKindCapability {