fix(nvim): ensure Tmp
cmd invokes correct autocmds
This commit is contained in:
parent
f85e31d7ab
commit
82b58ca6b4
@ -112,6 +112,7 @@ M.setup = function()
|
|||||||
if fname ~= "" then
|
if fname ~= "" then
|
||||||
vim.cmd.edit({ args = { fname }, bang = true })
|
vim.cmd.edit({ args = { fname }, bang = true })
|
||||||
vim.cmd.write({ bang = true })
|
vim.cmd.write({ bang = true })
|
||||||
|
vim.cmd.edit({ args = { fname }, bang = true })
|
||||||
else
|
else
|
||||||
vim.cmd.edit({ args = { tmp_dir } })
|
vim.cmd.edit({ args = { tmp_dir } })
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user