fix(nvim): pcall editing tmp_dir for Tmp` cmd
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 54s

This commit is contained in:
Price Hiller 2024-04-20 03:20:29 -05:00
parent bea2a0bac8
commit ab4c04dcb1
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -114,7 +114,7 @@ M.setup = function()
vim.cmd.write({ bang = true }) vim.cmd.write({ bang = true })
vim.cmd.edit({ args = { fname }, bang = true }) vim.cmd.edit({ args = { fname }, bang = true })
else else
vim.cmd.edit({ args = { tmp_dir } }) pcall(vim.cmd.edit, { args = { tmp_dir } })
end end
end, { end, {
nargs = "*", nargs = "*",