aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGokul Soumya2022-07-08 22:31:15 +0000
committerGitHub2022-07-08 22:31:15 +0000
commit21b66ba0686e745c7e32a4b79cc7edcc3b3fa349 (patch)
tree75aae1a41df6087d2920ec4d19266291b958822a
parentb7a3531b8f6aa0f7423293fbf071488b1ef12da2 (diff)
lsp: Add workspace/applyEdit to client capabilites (#3012)
The functionality already existed, but the capability wasn't being reported correctly to the server: https://github.com/helix-editor/helix/blob/230ba264bf78d9b4ecd42440f0cbb20529f9c235/helix-term/src/application.rs#L716-L728
-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 aa833541..9187a61e 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -294,6 +294,7 @@ impl Client {
dynamic_registration: Some(false),
}),
workspace_folders: Some(true),
+ apply_edit: Some(true),
..Default::default()
}),
text_document: Some(lsp::TextDocumentClientCapabilities {