diff options
author | Gokul Soumya | 2022-07-08 22:31:15 +0000 |
---|---|---|
committer | GitHub | 2022-07-08 22:31:15 +0000 |
commit | 21b66ba0686e745c7e32a4b79cc7edcc3b3fa349 (patch) | |
tree | 75aae1a41df6087d2920ec4d19266291b958822a /helix-lsp | |
parent | b7a3531b8f6aa0f7423293fbf071488b1ef12da2 (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
Diffstat (limited to 'helix-lsp')
-rw-r--r-- | helix-lsp/src/client.rs | 1 |
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 { |