From a6eab6e25e57c10baabc4c061fe6a9339614c8f4 Mon Sep 17 00:00:00 2001 From: Jose Alvarez Date: Mon, 6 Sep 2021 04:48:54 +0900 Subject: fix(lsp): update workspace/applyEdit handler signature (#15573) --- runtime/lua/vim/lsp/handlers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/lua/vim') 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 -- cgit