aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/objective_c.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/objective_c.lua')
-rw-r--r--lexlua/objective_c.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/objective_c.lua b/lexlua/objective_c.lua
index 026d83f0a..3b1b5f436 100644
--- a/lexlua/objective_c.lua
+++ b/lexlua/objective_c.lua
@@ -65,6 +65,6 @@ lex:add_fold_point(lexer.PREPROCESSOR, 'ifdef', 'endif')
lex:add_fold_point(lexer.PREPROCESSOR, 'ifndef', 'endif')
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