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
commit21b66ba0686e745c7e32a4b79cc7edcc3b3fa349
authorGokul Soumya <gokulps15@gmail.com>
dateSat 9 Jul 2022, 04:01 (4 years ago)
parentb7a3531
helix-lsp/src/client.rs+1
@@ -294,6 +294,7 @@ impl Client {
294294 dynamic_registration: Some(false),
295295 }),
296296 workspace_folders: Some(true),
297+ apply_edit: Some(true),
297298 ..Default::default()
298299 }),
299300 text_document: Some(lsp::TextDocumentClientCapabilities {