Skip to content

Commit 7b730b6

Browse files
committed
fix(live_grep_native): file_ignore_patterns (closes #2352)
1 parent 52b8199 commit 7b730b6

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
@@ -349,7 +349,7 @@ function M.normalize_opts(opts, globals, __resume_key)
349349
-- for these as they only work for maps, ie. '{ key = value }'
350350
for _, k in ipairs({ "file_ignore_patterns" }) do
351351
for _, m in ipairs({ globals, M.globals }) do
352-
if m[k] then
352+
if m[k] and opts[k] ~= false then
353353
for _, item in ipairs(m[k]) do
354354
if not opts[k] then opts[k] = {} end
355355
table.insert(opts[k], item)

0 commit comments

Comments
 (0)