diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-03-18 12:27:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 12:27:16 -0700 |
commit | f31b8dabfd999e49c98c736a49f168e27fba6a9b (patch) | |
tree | 1c949c17cf99f1b4e144ad8ae9aab33d122a9137 /runtime/lua/vim/lsp/protocol.lua | |
parent | 0ab88c2ea80caa7cda97b3a8479d0d32e4636ab6 (diff) | |
parent | 84213b5b9adfaaf133771432ca468cea8faa4cc9 (diff) | |
download | rneovim-f31b8dabfd999e49c98c736a49f168e27fba6a9b.tar.gz rneovim-f31b8dabfd999e49c98c736a49f168e27fba6a9b.tar.bz2 rneovim-f31b8dabfd999e49c98c736a49f168e27fba6a9b.zip |
Merge pull request #14144 from mfussenegger/lsp-workspace-edit-rename
lsp: Add support for create,rename,delete workspaceEdit resourceOperations
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index 0f440d6d70..7e43eb84de 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -749,6 +749,9 @@ function protocol.make_client_capabilities() }; workspaceFolders = true; applyEdit = true; + workspaceEdit = { + resourceOperations = {'rename', 'create', 'delete',}, + }; }; callHierarchy = { dynamicRegistration = false; |