fix(#1824): Don't modify jumplist when edit_in_place. (#1825)

This commit is contained in:
Anton
2022-12-16 05:08:27 +02:00
committed by GitHub
parent cdb40dc42e
commit e8ea62c198

View File

@@ -265,7 +265,7 @@ end
local function edit_in_current_buf(filename)
require("nvim-tree.view").abandon_current_window()
vim.cmd("edit " .. vim.fn.fnameescape(filename))
vim.cmd("keepjumps edit " .. vim.fn.fnameescape(filename))
end
function M.fn(mode, filename)