aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/rhtml.lua
diff options
context:
space:
mode:
authormitchell <unknown>2020-07-08 10:18:42 -0400
committermitchell <unknown>2020-07-08 10:18:42 -0400
commitbe2b4322cbb398b33ee9641d04463b663c781e1a (patch)
tree0f4dd53dc49dfb2621e8c0ab196c7762230d842a /lexlua/rhtml.lua
parent329559b74b483576a74d5f87eebf951bd12b9200 (diff)
downloadscintilla-mirror-be2b4322cbb398b33ee9641d04463b663c781e1a.tar.gz
lexlua: Convert uses of `lexer.STYLE_*` to `lexer.styles.*`.
Diffstat (limited to 'lexlua/rhtml.lua')
-rw-r--r--lexlua/rhtml.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/rhtml.lua b/lexlua/rhtml.lua
index f9decbba4..b3bedbfcb 100644
--- a/lexlua/rhtml.lua
+++ b/lexlua/rhtml.lua
@@ -12,7 +12,7 @@ local ruby = lexer.load('rails')
local ruby_start_rule = token('rhtml_tag', '<%' * P('=')^-1)
local ruby_end_rule = token('rhtml_tag', '%>')
lex:embed(ruby, ruby_start_rule, ruby_end_rule)
-lex:add_style('rhtml_tag', lexer.STYLE_EMBEDDED)
+lex:add_style('rhtml_tag', lexer.styles.embedded)
-- Fold points.
lex:add_fold_point('rhtml_tag', '<%', '%>')