Unnamed repository; edit this file 'description' to name the repository.
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
Gokul Soumya 2022-07-09
parent b7a3531 · commit 21b66ba
-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 {