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
committerJustin M. Keyes <justinkz@gmail.com>2021-09-26 10:25:17 -0700
commita6eab6e25e57c10baabc4c061fe6a9339614c8f4 (patch)
treef58761859e5a74b61da8b26e2f0ccd2b250542c4 /runtime/lua/vim/lsp/handlers.lua
parentcd8f6c5fb7858d8981fdfb2067bddb3eb86c13d0 (diff)
downloadrneovim-a6eab6e25e57c10baabc4c061fe6a9339614c8f4.tar.gz
rneovim-a6eab6e25e57c10baabc4c061fe6a9339614c8f4.tar.bz2
rneovim-a6eab6e25e57c10baabc4c061fe6a9339614c8f4.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.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua
index 15a5665893..5ee2ddf86c 100644
--- a/runtime/lua/vim/lsp/handlers.lua
+++ b/runtime/lua/vim/lsp/handlers.lua
@@ -143,8 +143,8 @@ M['textDocument/codeAction'] = function(_, result)
end
end
---@see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_applyEdit
-M['workspace/applyEdit'] = function(_, _, workspace_edit)
+--see: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_applyEdit
+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