Skip to content

Commit

Permalink
fix(actions): toggle-ignore not preserving cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
bekaboo authored and ibhagwan committed Feb 4, 2024
1 parent 76ddb46 commit 8ab5d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/fzf-lua/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ M.sym_lsym = function(_, opts)
end

M.toggle_ignore = function(_, opts)
local o = { resume = true }
local o = { resume = true, cwd = opts.cwd }
local flag = opts.toggle_ignore_flag or "--no-ignore"
if not flag:match("^%s") then
-- flag must be preceded by whitespace
Expand Down

0 comments on commit 8ab5d68

Please sign in to comment.