|
@@ -66,22 +66,22 @@ return {
|
|
|
opts = {
|
|
opts = {
|
|
|
bottom = {
|
|
bottom = {
|
|
|
-- toggleterm / lazyterm at the bottom with a height of 40% of the screen
|
|
-- toggleterm / lazyterm at the bottom with a height of 40% of the screen
|
|
|
- {
|
|
|
|
|
- ft = "toggleterm",
|
|
|
|
|
- size = { height = 0.4 },
|
|
|
|
|
- -- exclude floating windows
|
|
|
|
|
- filter = function(buf, win)
|
|
|
|
|
- return vim.api.nvim_win_get_config(win).relative == ""
|
|
|
|
|
- end,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- ft = "lazyterm",
|
|
|
|
|
- title = "LazyTerm",
|
|
|
|
|
- size = { height = 0.4 },
|
|
|
|
|
- filter = function(buf)
|
|
|
|
|
- return not vim.b[buf].lazyterm_cmd
|
|
|
|
|
- end,
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ -- {
|
|
|
|
|
+ -- ft = "toggleterm",
|
|
|
|
|
+ -- size = { height = 0.4 },
|
|
|
|
|
+ -- -- exclude floating windows
|
|
|
|
|
+ -- filter = function(buf, win)
|
|
|
|
|
+ -- return vim.api.nvim_win_get_config(win).relative == ""
|
|
|
|
|
+ -- end,
|
|
|
|
|
+ -- },
|
|
|
|
|
+ -- {
|
|
|
|
|
+ -- ft = "lazyterm",
|
|
|
|
|
+ -- title = "LazyTerm",
|
|
|
|
|
+ -- size = { height = 0.4 },
|
|
|
|
|
+ -- filter = function(buf)
|
|
|
|
|
+ -- return not vim.b[buf].lazyterm_cmd
|
|
|
|
|
+ -- end,
|
|
|
|
|
+ -- },
|
|
|
"Trouble",
|
|
"Trouble",
|
|
|
{ ft = "qf", title = "QuickFix" },
|
|
{ ft = "qf", title = "QuickFix" },
|
|
|
{
|
|
{
|
|
@@ -92,7 +92,7 @@ return {
|
|
|
return vim.bo[buf].buftype == "help"
|
|
return vim.bo[buf].buftype == "help"
|
|
|
end,
|
|
end,
|
|
|
},
|
|
},
|
|
|
- { ft = "spectre_panel", size = { height = 0.4 } },
|
|
|
|
|
|
|
+ -- { ft = "spectre_panel", size = { height = 0.4 } },
|
|
|
},
|
|
},
|
|
|
left = {
|
|
left = {
|
|
|
{
|
|
{
|