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 46abf8833..913e7b6e2 100644
--- a/lexlua/icon.lua
+++ b/lexlua/icon.lua
@@ -56,6 +56,6 @@ lex:add_rule('operator', token(lexer.OPERATOR, S('+-/*%<>~!=^&|?~@:;,.()[]{}')))
lex:add_fold_point(lexer.PREPROCESSOR, 'ifdef', 'endif')
lex:add_fold_point(lexer.PREPROCESSOR, 'ifndef', 'endif')
lex:add_fold_point(lexer.KEYWORD, 'procedure', 'end')
-lex:add_fold_point(lexer.COMMENT, '#', lexer.fold_line_comments('#'))
+lex:add_fold_point(lexer.COMMENT, lexer.fold_consecutive_lines('#'))
return lex