From be2b4322cbb398b33ee9641d04463b663c781e1a Mon Sep 17 00:00:00 2001 From: mitchell Date: Wed, 8 Jul 2020 10:18:42 -0400 Subject: lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`. --- lexlua/sass.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexlua/sass.lua') diff --git a/lexlua/sass.lua b/lexlua/sass.lua index 02dcf75c3..e4faf1cc3 100644 --- a/lexlua/sass.lua +++ b/lexlua/sass.lua @@ -16,7 +16,7 @@ lex:add_rule('variable', token(lexer.VARIABLE, '$' * (lexer.alnum + S('_-'))^1)) -- Mixins. lex:add_rule('mixin', token('mixin', P('@') * lexer.word)) -lex:add_style('mixin', lexer.STYLE_FUNCTION) +lex:add_style('mixin', lexer.styles['function']) -- Fold points. lex:add_fold_point(lexer.COMMENT, '//', lexer.fold_line_comments('//')) -- cgit v1.2.3