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/gtkrc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexlua/gtkrc.lua') diff --git a/lexlua/gtkrc.lua b/lexlua/gtkrc.lua index fbeaa86ba..477fa9d65 100644 --- a/lexlua/gtkrc.lua +++ b/lexlua/gtkrc.lua @@ -26,7 +26,7 @@ lex:add_rule('variable', token(lexer.VARIABLE, word_match[[ lex:add_rule('state', token('state', word_match[[ ACTIVE SELECTED NORMAL PRELIGHT INSENSITIVE TRUE FALSE ]])) -lex:add_style('state', lexer.STYLE_CONSTANT) +lex:add_style('state', lexer.styles.constant) -- Functions. lex:add_rule('function', token(lexer.FUNCTION, word_match[[ -- cgit v1.2.3