Skip to content

Commit

Permalink
chore: nullify $RIPGREP_CONFIG_PATH (closes #1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed Jun 15, 2024
1 parent ad4d70b commit f438477
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/fzf-lua/fzf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@ function M.raw_fzf(contents, fzf_cli_args, opts)
default_opts = default_opts:gsub(utils.lua_regex_escape(p) .. "[=%s]+.-%s+%-%-", " --")
end
return default_opts
end)()
end)(),
-- Nullify user's RG config as this can cause conflicts
-- with fzf-lua's rg opts (#1266)
["RIPGREP_CONFIG_PATH"] = "",
},
on_exit = function(_, rc, _)
local output = {}
Expand Down

0 comments on commit f438477

Please sign in to comment.