small config and plugin changes
This commit is contained in:
parent
523fedae4e
commit
e317dca789
8 changed files with 60 additions and 36 deletions
|
@ -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 "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue