aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/chuck.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/chuck.lua')
-rw-r--r--lexlua/chuck.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/chuck.lua b/lexlua/chuck.lua
index 2f918ed73..d3dfd2417 100644
--- a/lexlua/chuck.lua
+++ b/lexlua/chuck.lua
@@ -48,7 +48,7 @@ lex:add_style('time', lexer.STYLE_NUMBER)
-- Special special value.
lex:add_rule('now', token('now', P('now')))
-lex:add_style('now', lexer.STYLE_CONSTANT .. ',bold')
+lex:add_style('now', lexer.STYLE_CONSTANT .. {bold = true})
-- Strings.
local sq_str = P('L')^-1 * lexer.range("'", true)