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/django.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexlua/django.lua') diff --git a/lexlua/django.lua b/lexlua/django.lua index 96a9b454b..e311825ef 100644 --- a/lexlua/django.lua +++ b/lexlua/django.lua @@ -45,7 +45,7 @@ html:modify_rule('comment', token(lexer.COMMENT, html_comment + django_comment)) local django_start_rule = token('django_tag', '{' * S('{%')) local django_end_rule = token('django_tag', S('%}') * '}') html:embed(lex, django_start_rule, django_end_rule) -lex:add_style('django_tag', lexer.STYLE_EMBEDDED) +lex:add_style('django_tag', lexer.styles.embedded) -- Fold points. lex:add_fold_point('django_tag', '{{', '}}') -- cgit v1.2.3