term window size

This commit is contained in:
poslop committed 2026-05-01 10:59:46 -05:00
1 parent e7277ca212
commit b66d1d38c1
1 file changed
+13
+13
View File
@@ -15,7 +15,20 @@ return {
"akinsho/toggleterm.nvim",
version = "*",
opts = {},
config = function()
require("toggleterm").setup {
size = function(term)
if term.direction == "horizontal" then
return 15
elseif term.direction == "vertical" then
return vim.o.columns * 0.4
end
return 20
end,
}
end,
},
{
"akinsho/bufferline.nvim",
version = "*",