Created
October 7, 2021 06:02
-
-
Save nanozuki/2fb58901b420f6df4c861a222d520fc4 to your computer and use it in GitHub Desktop.
active wins at tail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local line = { | |
{ type = "text", text = { " ", hl = { fg = hl_tabline.fg, bg = hl_tabline.bg } } }, | |
{ type = "text", text = { "", hl = { fg = hl_tabline.bg, bg = hl_tabline_fill.bg } } }, | |
{ | |
type = "tab", | |
components = { | |
{ | |
type = "text", | |
match = "active", | |
text = { "", hl = { fg = hl_tabline_sel.bg, bg = hl_tabline_fill.bg } }, | |
}, | |
{ | |
type = "text", | |
match = "inactive", | |
text = { "", hl = { fg = hl_tabline.bg, bg = hl_tabline_fill.bg } }, | |
}, | |
{ | |
type = "text", | |
match = "active", | |
text = { " ", hl = { fg = hl_tabline_sel.fg, bg = hl_tabline_sel.bg, style = "bold" } }, | |
}, | |
{ | |
type = "text", | |
match = "inactive", | |
text = { " ", hl = { fg = hl_tabline.fg, bg = hl_tabline.bg, style = "bold" } }, | |
}, | |
{ | |
type = "tabid", | |
}, | |
{ | |
type = "text", | |
text = { " ", hl = { fg = hl_tabline_sel.bg, bg = hl_tabline_fill.bg } }, | |
}, | |
{ | |
type = "text", | |
text = { "", hl = { fg = hl_tabline.bg, bg = hl_tabline_fill.bg } }, | |
}, | |
}, | |
}, | |
{ | |
type = "separator", | |
hl = "TabLineFill", | |
}, | |
{ | |
type = "win", | |
match = "active", | |
components = { | |
{ | |
type = "text", | |
text = { "", hl = { fg = hl_tabline.bg, bg = hl_tabline_fill.bg } }, | |
}, | |
{ | |
type = "text", | |
match = "top", | |
text = { " ", hl = "TabLine" }, | |
}, | |
{ | |
type = "text", | |
match = "not-top", | |
text = { " ", hl = "TabLine" }, | |
}, | |
{ | |
type = "unique-name", | |
hl = "TabLine", | |
}, | |
{ | |
type = "text", | |
text = { " ", hl = { fg = hl_tabline.bg, bg = hl_tabline_fill.bg } }, | |
}, | |
}, | |
}, | |
{ type = "text", text = { "", hl = { fg = hl_tabline.bg, bg = hl_tabline_fill.bg } } }, | |
{ type = "text", text = { " ", hl = { fg = hl_tabline.fg, bg = hl_tabline.bg } } }, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment