fix: collection of small fixes

This commit is contained in:
Job Jobse
2026-09-04 20:56:21 +02:00
parent d1cd00d93b
commit 098457b5d4
4 changed files with 4 additions and 2 deletions
+1
View File
@@ -3,6 +3,7 @@ local M = {}
-- Open a command in a simple centered floating window
function M.open_terminal_app(cmd)
local buf = vim.api.nvim_create_buf(false, true)
vim.bo[buf].bufhidden = "wipe"
local lines = vim.o.lines - vim.o.cmdheight - (vim.o.laststatus > 0 and 1 or 0)
local w = math.floor(vim.o.columns * 0.95)