aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/rc.lua')
-rw-r--r--lexlua/rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/rc.lua b/lexlua/rc.lua
index 749911a6e..d7e7adacc 100644
--- a/lexlua/rc.lua
+++ b/lexlua/rc.lua
@@ -48,6 +48,6 @@ lex:add_rule('operator', token(lexer.OPERATOR, S('@`=!<>*&^|;?()[]{}') +
-- Fold points.
lex:add_fold_point(lexer.OPERATOR, '{', '}')
-lex:add_fold_point(lexer.COMMENT, '#', lexer.fold_line_comments('#'))
+lex:add_fold_point(lexer.COMMENT, lexer.fold_consecutive_lines('#'))
return lex