set WorkspaceEditCapabilities correctly
This commit is contained in:
parent
b6a4927f00
commit
7bf168dce0
1 changed files with 11 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue