Closed MunifTanjim closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
dc84120
) 100.00% compared to head (093cd59
) 100.00%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
tab list (tab number + win list)
Expand Codes
```lua tal:add_item(nut.tab.tablist.tabs({ active_tab = { hl = { bg = color.bg0, fg = color.fg0 }, sep_left = { hl = { bg = color.bg0, fg = color.blue }, content = "▎", }, content = { nut.tab.tablist.number({ suffix = " " }), nut.tab.tablist.close({ config = { text = "" }, suffix = " " }), nut.tab.winlist.wins({ active_item = { hl = { bg = color.bg1, fg = color.blue }, prefix = " ", suffix = " ", content = { nut.tab.winlist.label({}), }, }, inactive_item = { hl = { bg = color.bg2, fg = color.fg2 }, prefix = " ", suffix = " ", content = { nut.tab.winlist.label({}), }, }, }), }, }, inactive_tab = { hl = { bg = color.bg2, fg = color.fg2 }, sep_left = { hl = { bg = color.bg2, fg = color.fg3 }, content = "▎", }, content = { nut.tab.tablist.number({ suffix = " " }), nut.tab.tablist.close({ config = { text = "" }, suffix = " " }), nut.tab.winlist.wins({ active_item = { hl = { bg = color.bg1, fg = color.blue }, prefix = " ", suffix = " ", content = { nut.tab.winlist.label({}), }, }, inactive_item = { hl = { bg = color.bg2, fg = color.fg2 }, prefix = " ", suffix = " ", content = { nut.tab.winlist.label({}), }, }, }), }, }, })) ```win list (for active tab) + tab list (tab number + win count)
Expand Codes
```lua tal:add_item(nut.tab.winlist.wins({ active_item = { hl = { bg = color.bg1, fg = color.blue }, prefix = " ", suffix = " ", content = { nut.tab.winlist.label({}), }, }, inactive_item = { hl = { bg = color.bg2, fg = color.fg2 }, prefix = " ", suffix = " ", content = { nut.tab.winlist.label({}), }, }, })) tal:add_item(core.spacer()) tal:add_item(nut.tab.tablist.tabs({ active_tab = { hl = { bg = color.bg0, fg = color.fg0 }, sep_left = { hl = { bg = color.bg0, fg = color.blue }, content = "▎", }, content = { nut.tab.tablist.number({ suffix = " " }), nut.tab.tablist.close({ config = { text = "" }, suffix = " " }), }, }, inactive_tab = { hl = { bg = color.bg2, fg = color.fg2 }, sep_left = { hl = { bg = color.bg2, fg = color.fg3 }, content = "▎", }, content = { nut.tab.tablist.number({ suffix = " " }), nut.tab.tablist.win_count({ prefix = "(", suffix = ") " }), nut.tab.tablist.close({ config = { text = "" }, suffix = " " }), }, }, })) ```