refactor: small fixes

This commit is contained in:
Job Jobse
2026-08-29 13:03:23 +02:00
parent 1bb7c08186
commit 9f74d7a7a1
8 changed files with 206 additions and 143 deletions
+1 -1
View File
@@ -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