From 86b023978a77cc291315465567a8fbe904113819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Boczar?= Date: Mon, 23 Jan 2023 14:52:53 +0100 Subject: [PATCH] fix selene unused function argument --- lua/lspconfig/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lspconfig/util.lua b/lua/lspconfig/util.lua index a70c5e5ee6..eb30cdf67b 100644 --- a/lua/lspconfig/util.lua +++ b/lua/lspconfig/util.lua @@ -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