toggleterm: fix height

This commit is contained in:
PowerUser64 2023-04-26 20:35:51 -07:00
parent f5658686e6
commit e85b89a104

View file

@ -40,14 +40,10 @@ M.toggleterm = function()
return vim.o.columns * 0.4
end
end,
open_mapping = [[<F12>]],
open_mapping = [[<F1>]],
hide_numbers = true, -- hide the number column in toggleterm buffers
shade_filetypes = {},
shade_terminals = true,
shading_factor = '1', -- the degree by which to darken to terminal colour, default: 1 for dark backgrounds, 3 for light
start_in_insert = true,
insert_mappings = true, -- whether or not the open mapping applies in insert mode
persist_size = true,
direction = 'float', -- vertical, horizontal, window, or float
close_on_exit = true, -- close the terminal window when the process exits
-- shell = vim.o.shell, -- change the default shell
@ -59,7 +55,7 @@ M.toggleterm = function()
-- not natively supported but implemented in this plugin.
border = 'curved', -- single, double, shadow, or curved
width = 200,
height = 50,
height = 48,
winblend = 10, -- transparancy
highlights = {
border = "Normal",