aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/jdtls.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/lspconfig/jdtls.lua b/lua/lspconfig/jdtls.lua
index a71e634f..d83903b7 100644
--- a/lua/lspconfig/jdtls.lua
+++ b/lua/lspconfig/jdtls.lua
@@ -110,6 +110,8 @@ configs[server_name] = {
-- TODO: (steelsojka) Handle more than one edit?
if action.command == 'java.apply.workspaceEdit' then
action.edit = action.arguments[1]
+ elseif type(action.command) == 'table' and action.command.command == 'java.apply.workspaceEdit' then
+ action.edit = action.command.arguments[1]
end
end