aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-11-08 11:48:06 +0000
committerBlaž Hrastnik2022-11-08 11:50:49 +0000
commit13126823f83cb90a3aabfc2326c0907d1ca2d921 (patch)
tree70828913c1b8858a76fbed84348137c47b80c844 /helix-lsp
parent188aff059bf9558b4fa28b03d5929020ff76cdb3 (diff)
lsp: Support insertReplace
Fixes #4473
Diffstat (limited to 'helix-lsp')
-rw-r--r--helix-lsp/src/client.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index 0b443ccf..81b7d8ad 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -311,6 +311,7 @@ impl Client {
String::from("additionalTextEdits"),
],
}),
+ insert_replace_support: Some(true),
..Default::default()
}),
completion_item_kind: Some(lsp::CompletionItemKindCapability {