fix(nvim): pcall editing tmp_dir
for Tmp` cmd
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 54s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 54s
This commit is contained in:
parent
bea2a0bac8
commit
ab4c04dcb1
@ -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 = "*",
|
||||||
|
Loading…
Reference in New Issue
Block a user