aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/template.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/template.txt')
-rw-r--r--lexlua/template.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/template.txt b/lexlua/template.txt
index d12f41c66..48ac20319 100644
--- a/lexlua/template.txt
+++ b/lexlua/template.txt
@@ -34,6 +34,6 @@ lex:add_rule('operator', token(lexer.OPERATOR, S('+-*/%^=<>,.{}[]()')))
-- Fold points.
lex:add_fold_point(lexer.KEYWORD, 'start', 'end')
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