Update init.lua
This commit is contained in:
@@ -66,7 +66,7 @@ end
|
|||||||
local function 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.9), math.floor(ui.width * 0.9)
|
local row, col = math.floor(ui.height * 0.05), math.floor(ui.width * 0.05)
|
||||||
|
|
||||||
local buf = vim.api.nvim_create_buf(false, true)
|
local buf = vim.api.nvim_create_buf(false, true)
|
||||||
local win = vim.api.nvim_open_win(buf, true, {
|
local win = vim.api.nvim_open_win(buf, true, {
|
||||||
|
|||||||
Reference in New Issue
Block a user