aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/dart.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/dart.lua')
-rw-r--r--lexlua/dart.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/dart.lua b/lexlua/dart.lua
index 6ca08208e..33247ca7e 100644
--- a/lexlua/dart.lua
+++ b/lexlua/dart.lua
@@ -51,6 +51,6 @@ lex:add_style('annotation', lexer.styles.preprocessor)
-- Fold points.
lex:add_fold_point(lexer.OPERATOR, '{', '}')
lex:add_fold_point(lexer.COMMENT, '/*', '*/')
-lex:add_fold_point(lexer.COMMENT, '//', lexer.fold_line_comments('//'))
+lex:add_fold_point(lexer.COMMENT, lexer.fold_consecutive_lines('//'))
return lex