aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/handlers.lua
diff options
context:
space:
mode:
authorJose Alvarez <j.alvarez11@icloud.com>2021-09-06 04:48:54 +0900
committerGitHub <noreply@github.com>2021-09-05 12:48:54 -0700
commit3f526feebfe6d7bf71380a24639a3dd908f77ff6 (patch)
treec467b30e30d41eb2174a49526d6c80f0f18554ce /runtime/lua/vim/lsp/handlers.lua
parent23fe6dba138859c1c22850b9ce76219141f546a0 (diff)
downloadrneovim-3f526feebfe6d7bf71380a24639a3dd908f77ff6.tar.gz
rneovim-3f526feebfe6d7bf71380a24639a3dd908f77ff6.tar.bz2
rneovim-3f526feebfe6d7bf71380a24639a3dd908f77ff6.zip
fix(lsp): update workspace/applyEdit handler signature (#15573)
Diffstat (limited to 'runtime/lua/vim/lsp/handlers.lua')
-rw-r--r--runtime/lua/vim/lsp/handlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua
index 22627c85e8..8fa6f6d024 100644
--- a/runtime/lua/vim/lsp/handlers.lua
+++ b/runtime/lua/vim/lsp/handlers.lua
@@ -144,7 +144,7 @@ M['textDocument/codeAction'] = function(_, result)
end
--see: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_applyEdit
-M['workspace/applyEdit'] = function(_, _, workspace_edit)
+M['workspace/applyEdit'] = function(_, workspace_edit)
if not workspace_edit then return end
-- TODO(ashkan) Do something more with label?
if workspace_edit.label then