aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/tcl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/tcl.lua')
-rw-r--r--lexlua/tcl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/tcl.lua b/lexlua/tcl.lua
index 4f8a7eb64..675397a7c 100644
--- a/lexlua/tcl.lua
+++ b/lexlua/tcl.lua
@@ -43,6 +43,6 @@ lex:add_rule('backslash', token(lexer.TYPE, '\\' * (oct + hex + unicode + 1)))
-- Fold points.
lex:add_fold_point(lexer.KEYWORD, '{', '}')
-lex:add_fold_point(lexer.COMMENT, '#', lexer.fold_line_comments('#'))
+lex:add_fold_point(lexer.COMMENT, lexer.fold_consecutive_lines('#'))
return lex