Skip to content

Commit

Permalink
fix selene unused function argument
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrzejboczar committed Jan 23, 2023
1 parent 5505fbe commit 86b0239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspconfig/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ eq = {
end,
same_if_nil = function(on_nil, val_eq)
return function(a, b)
if a == nil or b == nil then return true end
if a == nil or b == nil then return on_nil end
return val_eq(a, b)
end
end
Expand Down

0 comments on commit 86b0239

Please sign in to comment.