refactor: small fixes
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ function M.open_terminal_app(cmd)
|
||||
vim.cmd("enew")
|
||||
vim.fn.termopen(cmd, {
|
||||
on_exit = function()
|
||||
vim.cmd("bdelete!")
|
||||
pcall(vim.cmd, "bdelete!")
|
||||
end,
|
||||
})
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user