Skip to content

Commit c4e1845

Browse files
committed
fix(specs): sync light and dark
1 parent 1ac520f commit c4e1845

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

lua/zenbones/specs/dark.lua

+5-5
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ local function generate(p, opt)
126126
Constant { fg = p1.fg4, gui = "italic" }, -- (preferred) any constant
127127
String { Constant }, -- a string constant: "this is a string"
128128
Character { Constant }, -- a character constant: 'c', '\n'
129-
Number { fg = p.fg, gui = "italic" }, -- a number constant: 234, 0xff
130-
Boolean { Number }, -- a boolean constant: TRUE, false
131-
Float { Constant }, -- a floating point constant: 2.3e10
129+
Number { fg = p1.fg4 }, -- a number constant: 234, 0xff
130+
Boolean { fg = p.fg, gui = "italic" }, -- a boolean constant: TRUE, false
131+
Float { Number }, -- a floating point constant: 2.3e10
132132

133133
Identifier { fg = p1.fg2 }, -- (preferred) any variable name
134134
Function { fg = p.fg }, -- function name (also: methods for classes)
@@ -214,7 +214,7 @@ local function generate(p, opt)
214214
sym "@module.builtin" { sym "@module" },
215215
sym "@label" { Statement },
216216

217-
sym "@string" { Constant },
217+
sym "@string" { String },
218218
sym "@string.documentation" { sym "@string" },
219219
sym "@string.regexp" { Constant },
220220
sym "@string.escape" { Special },
@@ -226,7 +226,7 @@ local function generate(p, opt)
226226
sym "@character" { Constant },
227227
sym "@character.special" { Special },
228228

229-
sym "@boolean" { Number },
229+
sym "@boolean" { Boolean },
230230
sym "@number" { Number },
231231
sym "@number.float" { sym "@number" },
232232

lua/zenbones/specs/light.lua

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ local function generate(p, opt)
3939
WarningMsg { fg = p.wood }, -- warning messages
4040

4141
Comment { fg = p1.bg.da(opt.darken_comments or 38).de(28), gui = opt.italic_comments ~= false and "italic" or "NONE" }, -- any comment
42+
Conceal { fg = p1.fg5, gui = "bold,italic" }, -- placeholder characters substituted for concealed text (see 'conceallevel')
43+
4244
Cursor { bg = p.fg, fg = p1.bg }, -- character under the cursor
4345
lCursor { Cursor, bg = Cursor.bg.li(20) }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
4446
-- CursorIM { }, -- like Cursor, but used when in IME mode |CursorIM|

0 commit comments

Comments
 (0)