@@ -126,9 +126,9 @@ local function generate(p, opt)
126
126
Constant { fg = p1 .fg4 , gui = " italic" }, -- (preferred) any constant
127
127
String { Constant }, -- a string constant: "this is a string"
128
128
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
132
132
133
133
Identifier { fg = p1 .fg2 }, -- (preferred) any variable name
134
134
Function { fg = p .fg }, -- function name (also: methods for classes)
@@ -214,7 +214,7 @@ local function generate(p, opt)
214
214
sym " @module.builtin" { sym " @module" },
215
215
sym " @label" { Statement },
216
216
217
- sym " @string" { Constant },
217
+ sym " @string" { String },
218
218
sym " @string.documentation" { sym " @string" },
219
219
sym " @string.regexp" { Constant },
220
220
sym " @string.escape" { Special },
@@ -226,7 +226,7 @@ local function generate(p, opt)
226
226
sym " @character" { Constant },
227
227
sym " @character.special" { Special },
228
228
229
- sym " @boolean" { Number },
229
+ sym " @boolean" { Boolean },
230
230
sym " @number" { Number },
231
231
sym " @number.float" { sym " @number" },
232
232
0 commit comments