diff --git a/lua/plugins/windows.lua b/lua/plugins/windows.lua index 6e99ad0..71717e4 100644 --- a/lua/plugins/windows.lua +++ b/lua/plugins/windows.lua @@ -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 = "*",