From 8ab5d68dd82aa4c5c57c521e04c113cea4f5216f Mon Sep 17 00:00:00 2001 From: bekaboo <18127878294@qq.com> Date: Sun, 4 Feb 2024 15:27:07 +0800 Subject: [PATCH] fix(actions): toggle-ignore not preserving cwd --- lua/fzf-lua/actions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/fzf-lua/actions.lua b/lua/fzf-lua/actions.lua index 4b148b4d..9f0ab321 100644 --- a/lua/fzf-lua/actions.lua +++ b/lua/fzf-lua/actions.lua @@ -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