feat(git): give every new git window a fresh jumplist

This commit is contained in:
2026-04-29 15:46:54 +02:00
parent 81bc011b09
commit 2335d5e0dd
5 changed files with 40 additions and 10 deletions
+1 -3
View File
@@ -81,9 +81,7 @@ local function place_split(name)
if win_id ~= -1 then
vim.api.nvim_set_current_win(win_id)
else
vim.api.nvim_open_win(buf, true, {
split = vim.o.splitbelow and "below" or "above",
})
util.place_buf(buf, nil)
end
return buf
end