mirror of
https://github.com/neovim/neovim.git
synced 2026-08-27 01:21:48 +00:00
fix(dir): preserve alternate file #41177
This commit is contained in:
@@ -24,6 +24,7 @@ local function edit(path)
|
||||
local ok, err = pcall(api.nvim_cmd, {
|
||||
cmd = 'edit',
|
||||
args = { path },
|
||||
mods = { keepalt = vim.b.nvim_dir ~= nil },
|
||||
magic = { file = false, bar = false },
|
||||
})
|
||||
navigating = false
|
||||
|
||||
Reference in New Issue
Block a user