Skip to content

Commit 7e2105a

Browse files
committed
feat(extras): update tab configuration
1 parent 148e80e commit 7e2105a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

lua/tokyonight/extra/yazi.lua

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function M.generate(colors)
99
local yazi = util.template(
1010
[[
1111
[mgr]
12-
# NOTE: can combined with tmTheme (sublime colorshceme file) for preview code highlight
12+
# NOTE: can be combined with tmTheme (sublime colorshceme file) for preview code highlight
1313
# syntect_theme = "path/to/tmTheme"
1414
1515
cwd = { fg = "${fg_dark}", italic = true }
@@ -28,11 +28,6 @@ marker_cut = { fg = "${red}", bg = "${red}" }
2828
marker_marked = { fg = "${magenta}", bg = "${magenta}" }
2929
marker_selected = { fg = "${blue}", bg = "${blue}" }
3030
31-
# Tab
32-
tab_active = { fg = "${fg}", bg = "${bg_highlight}" }
33-
tab_inactive = { fg = "${fg_gutter}", bg = "${bg}" }
34-
tab_width = 1
35-
3631
# Count
3732
count_copied = { fg = "${bg_dark}", bg = "${green}" }
3833
count_cut = { fg = "${bg_dark}", bg = "${red}" }
@@ -42,6 +37,11 @@ count_selected = { fg = "${bg_dark}", bg = "${blue}" }
4237
border_symbol = "│"
4338
border_style = { fg = "${border_highlight}" }
4439
40+
# Tab
41+
[tabs]
42+
active = { fg = "${black}", bg = "${blue}" }
43+
inactive = { fg = "${blue}", bg = "${fg_gutter}" }
44+
4545
[mode]
4646
normal_main = { fg = "${black}", bg = "${blue}", bold = true }
4747
normal_alt = { fg = "${blue}", bg = "${fg_gutter}" }
@@ -136,6 +136,7 @@ icon_info = ""
136136
[help]
137137
on = { fg = "${green}" }
138138
run = { fg = "${magenta}" }
139+
desc = { fg = "${cyan}" }
139140
hovered = { bg = "${bg_highlight}" }
140141
footer = { fg = "${fg}", bg = "${bg}" }
141142

0 commit comments

Comments
 (0)