Update init.lua

This commit is contained in:
DarthMooMancer
2025-03-04 14:33:21 -05:00
parent 72138d26de
commit cad2619997
+1 -1
View File
@@ -34,7 +34,7 @@ function M.setup(opts)
end end
-- Open floating terminal -- Open floating terminal
function M.open_float_terminal(cmd) local function open_float_terminal(cmd)
local ui = vim.api.nvim_list_uis()[1] local ui = vim.api.nvim_list_uis()[1]
local width, height = math.floor(ui.width * 0.9), math.floor(ui.height * 0.9) local width, height = math.floor(ui.width * 0.9), math.floor(ui.height * 0.9)
local row, col = math.floor(ui.height * 0.05), math.floor(ui.width * 0.05) local row, col = math.floor(ui.height * 0.05), math.floor(ui.width * 0.05)