term window size
This commit is contained in:
@@ -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 = "*",
|
||||
|
||||
Reference in New Issue
Block a user