set WorkspaceEditCapabilities correctly

pull/2883/head
Pascal Kuthe 2 years ago committed by Blaž Hrastnik
parent b6a4927f00
commit 7bf168dce0

@ -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 {

Loading…
Cancel
Save