aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/icon.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/icon.lua')
-rw-r--r--lexlua/icon.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/icon.lua b/lexlua/icon.lua
index a850f03a1..3a8a75316 100644
--- a/lexlua/icon.lua
+++ b/lexlua/icon.lua
@@ -26,7 +26,7 @@ lex:add_rule('special_keyword', token('special_keyword', P('&') * word_match[[
lcase letters level line main null output phi pi pos progname random regions
source storage subject time trace ucase version
]]))
-lex:add_style('special_keyword', lexer.STYLE_TYPE)
+lex:add_style('special_keyword', lexer.styles.type)
-- Identifiers.
lex:add_rule('identifier', token(lexer.IDENTIFIER, lexer.word))