summaryrefslogtreecommitdiff
path: root/lua/telescope/builtin/lsp.lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2022-03-26 10:25:47 +0100
committerSimon Hauser <Simon-Hauser@outlook.de>2022-03-26 10:25:47 +0100
commit40c1e88904d8674d597634ec2db90d51b46795ec (patch)
tree3d72217cafea1cb85dfeaab804a15787f798bcff /lua/telescope/builtin/lsp.lua
parent503db70a6a82ff4847593e5830c05082db39faa0 (diff)
chore: fix lint errors from latest ci run
Diffstat (limited to 'lua/telescope/builtin/lsp.lua')
-rw-r--r--lua/telescope/builtin/lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/builtin/lsp.lua b/lua/telescope/builtin/lsp.lua
index aaa5e6f..a2dc65d 100644
--- a/lua/telescope/builtin/lsp.lua
+++ b/lua/telescope/builtin/lsp.lua
@@ -281,7 +281,7 @@ lsp.code_actions = function(opts)
-- Fixed Java/jdtls compatibility with Telescope
-- See fix_zero_version commentary for more information
local command = (action.command and action.command.command) or action.command
- if not (command == "java.apply.workspaceEdit") then
+ if command ~= "java.apply.workspaceEdit" then
return action
end
local arguments = (action.command and action.command.arguments) or action.arguments