chore: fix lint errors from latest ci run
This commit is contained in:
@@ -281,7 +281,7 @@ lsp.code_actions = function(opts)
|
|||||||
-- Fixed Java/jdtls compatibility with Telescope
|
-- Fixed Java/jdtls compatibility with Telescope
|
||||||
-- See fix_zero_version commentary for more information
|
-- See fix_zero_version commentary for more information
|
||||||
local command = (action.command and action.command.command) or action.command
|
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
|
return action
|
||||||
end
|
end
|
||||||
local arguments = (action.command and action.command.arguments) or action.arguments
|
local arguments = (action.command and action.command.arguments) or action.arguments
|
||||||
|
|||||||
@@ -461,7 +461,7 @@ function Picker:find()
|
|||||||
local prompt = self:_get_next_filtered_prompt()
|
local prompt = self:_get_next_filtered_prompt()
|
||||||
|
|
||||||
-- TODO: Entry manager should have a "bulk" setter. This can prevent a lot of redraws from display
|
-- TODO: Entry manager should have a "bulk" setter. This can prevent a lot of redraws from display
|
||||||
if self.cache_picker == false or not (self.cache_picker.is_cached == true) then
|
if self.cache_picker == false or self.cache_picker.is_cached ~= true then
|
||||||
self.sorter:_start(prompt)
|
self.sorter:_start(prompt)
|
||||||
self.manager = EntryManager:new(self.max_results, self.entry_adder, self.stats)
|
self.manager = EntryManager:new(self.max_results, self.entry_adder, self.stats)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user