Skip to content

Commit 1bb85d4

Browse files
phanenibhagwan
authored andcommitted
fix(config): always remove the first boolean
1 parent 918b0f0 commit 1bb85d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/fzf-lua/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ M.globals = setmetatable({}, {
8888
setup_value[k][1] == true and
8989
utils.map_tolower(fzflua_default[k], exclude_case_sensitive_alt) or {})
9090
or utils.map_tolower(utils.tbl_deep_clone(fzflua_default[k]), exclude_case_sensitive_alt)
91-
if ret[k] and ret[k][1] == true then
91+
if ret[k] and ret[k][1] ~= nil then
9292
-- Remove the [1] indicating inheritance from defaults and
9393
ret[k][1] = nil
9494
end

0 commit comments

Comments
 (0)