summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'lsp-write.c')
-rw-r--r--lsp-write.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/lsp-write.c b/lsp-write.c
index 41f6d81..fb65c2d 100644
--- a/lsp-write.c
+++ b/lsp-write.c
@@ -437,7 +437,14 @@ static void write_request(LSP *lsp, LSPRequest *request) {
write_obj_end(o);
write_key_obj_start(o, "workspace");
write_key_bool(o, "workspaceFolders", true);
-
+ write_key_obj_start(o, "workspaceEdit");
+ write_key_bool(o, "documentChanges", true);
+ write_key_arr_start(o, "resourceOperations");
+ write_arr_elem_string(o, "create");
+ write_arr_elem_string(o, "rename");
+ write_arr_elem_string(o, "delete");
+ write_arr_end(o);
+ write_obj_end(o);
write_key_obj_start(o, "symbol");
write_symbol_kind_support(o);
write_symbol_tag_support(o);