aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/awk.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/awk.lua')
-rw-r--r--lexlua/awk.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/awk.lua b/lexlua/awk.lua
index a1b4779eb..4bba2309b 100644
--- a/lexlua/awk.lua
+++ b/lexlua/awk.lua
@@ -292,6 +292,6 @@ lex:add_rule('identifier', token(lexer.IDENTIFIER, lexer.word))
-- 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