fix: collection of small fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user