diff options
Diffstat (limited to 'lexlua/dart.lua')
| -rw-r--r-- | lexlua/dart.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/dart.lua b/lexlua/dart.lua index fca648485..74690feca 100644 --- a/lexlua/dart.lua +++ b/lexlua/dart.lua @@ -46,7 +46,7 @@ lex:add_rule('operator', token(lexer.OPERATOR, S('#?=!<>+-*$/%&|^~.,;()[]{}'))) -- Annotations. lex:add_rule('annotation', token('annotation', '@' * lexer.word^1)) -lex:add_style('annotation', lexer.STYLE_PREPROCESSOR) +lex:add_style('annotation', lexer.styles.preprocessor) -- Fold points. lex:add_fold_point(lexer.OPERATOR, '{', '}') |
