aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/csharp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/csharp.lua')
-rw-r--r--lexlua/csharp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/csharp.lua b/lexlua/csharp.lua
index eff79c533..d81302ea0 100644
--- a/lexlua/csharp.lua
+++ b/lexlua/csharp.lua
@@ -60,6 +60,6 @@ lex:add_fold_point(lexer.PREPROCESSOR, 'ifndef', 'endif')
lex:add_fold_point(lexer.PREPROCESSOR, 'region', 'endregion')
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