Skip to content

Commit 74f9482

Browse files
committed
fix(actions): buffer split actions (#1685)
1 parent 3d7e5db commit 74f9482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/fzf-lua/actions.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ M.vimcmd_entry = function(_vimcmd, selected, opts, pcall_vimcmd)
196196
vimcmd = vimcmd .. "!"
197197
end
198198
-- URI entries only execute new buffers (new|vnew|tabnew)
199-
if not entry.uri then
199+
if not entry.uri and not target_equals_current then
200200
-- Force full paths when `autochdir=true` (#882)
201201
vimcmd = string.format("%s %s", vimcmd, (function()
202202
-- `:argdel|:argadd` uses only paths

0 commit comments

Comments
 (0)