Skip to content

Commit 8fb981e

Browse files
committed
fix: define WinSeparator first
1 parent 3367231 commit 8fb981e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lua/zenbones/specs/dark.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ local function generate(p, opt)
9191
TabLine { StatusLine }, -- tab pages line, not active tab page label
9292
TabLineFill { StatusLineNC }, -- tab pages line, where there are no labels
9393
TabLineSel { gui = "bold" }, -- tab pages line, active tab page label
94-
VertSplit { fg = LineNr.fg, bg = opt.solid_vert_split and StatusLineNC.bg or "NONE" }, -- the column separating vertically split windows
95-
WinSeparator { VertSplit },
94+
WinSeparator { fg = LineNr.fg, bg = opt.solid_vert_split and StatusLineNC.bg or "NONE" },
95+
VertSplit { WinSeparator },
9696

9797
Visual { bg = p.fg.de(18).lightness(p1.bg.l + 18) }, -- Visual mode selection
9898
-- VisualNOS { }, -- Visual mode selection when vim is "Not Owning the Selection".

lua/zenbones/specs/light.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ local function generate(p, opt)
9191
TabLine { StatusLine }, -- tab pages line, not active tab page label
9292
TabLineFill { StatusLineNC }, -- tab pages line, where there are no labels
9393
TabLineSel { gui = "bold" }, -- tab pages line, active tab page label
94-
VertSplit { fg = LineNr.fg, bg = opt.solid_vert_split and StatusLineNC.bg or "NONE" }, -- the column separating vertically split windows
95-
WinSeparator { VertSplit },
94+
WinSeparator { fg = LineNr.fg, bg = opt.solid_vert_split and StatusLineNC.bg or "NONE" },
95+
VertSplit { WinSeparator },
9696

9797
Visual { bg = p.fg.lightness(p1.bg.l - 8) }, -- Visual mode selection
9898
-- VisualNOS { }, -- Visual mode selection when vim is "Not Owning the Selection".

0 commit comments

Comments
 (0)