small config and plugin changes

This commit is contained in:
Alexander Gehrke 2025-07-31 11:24:50 +02:00
parent 523fedae4e
commit e317dca789
8 changed files with 60 additions and 36 deletions

View file

@ -40,7 +40,7 @@ return {
local wincount = #vim.tbl_filter(function(i)
return i == "leaf"
end, vim.tbl_flatten(vim.fn.winlayout(context.tabnr)))
end, vim.iter(vim.fn.winlayout(context.tabnr)):flatten():totable())
return name
.. (wincount > 1 and " +" .. (wincount - 1) or "")