diff options
-rw-r--r-- | helix-lsp/src/client.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs index f6bf5e39..f93e5826 100644 --- a/helix-lsp/src/client.rs +++ b/helix-lsp/src/client.rs @@ -318,6 +318,17 @@ impl Client { inlay_hint: Some(lsp::InlayHintWorkspaceClientCapabilities { refresh_support: Some(false), }), + workspace_edit: Some(lsp::WorkspaceEditClientCapabilities { + document_changes: Some(true), + resource_operations: Some(vec![ + lsp::ResourceOperationKind::Create, + lsp::ResourceOperationKind::Rename, + lsp::ResourceOperationKind::Delete, + ]), + failure_handling: Some(lsp::FailureHandlingKind::Abort), + normalizes_line_endings: Some(false), + change_annotation_support: None, + }), ..Default::default() }), text_document: Some(lsp::TextDocumentClientCapabilities { |