19 lines
494 B
Lua
19 lines
494 B
Lua
if true then return {} end
|
|
|
|
---@type LazySpec
|
|
return {
|
|
"akinsho/toggleterm.nvim",
|
|
config = function(plugin, opts)
|
|
require("toggleterm").setup {
|
|
-- size can be a number or function which is passed the current terminal
|
|
size = function(term)
|
|
if term.direction == "horizontal" then
|
|
return vim.o.lines * 0.4
|
|
elseif term.direction == "vertical" then
|
|
return vim.o.columns * 0.4
|
|
end
|
|
end,
|
|
} --[[@type ToggleTermConfig]]
|
|
end,
|
|
}
|