aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/perl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/perl.lua')
-rw-r--r--lexlua/perl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/perl.lua b/lexlua/perl.lua
index 8021f3ea4..9054c3e64 100644
--- a/lexlua/perl.lua
+++ b/lexlua/perl.lua
@@ -134,6 +134,6 @@ lex:add_rule('operator', token(lexer.OPERATOR, S('-<>+*!~\\=/%&|^.?:;()[]{}')))
-- Fold points.
lex:add_fold_point(lexer.OPERATOR, '[', ']')
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