diff options
Diffstat (limited to 'lexlua/cpp.lua')
| -rw-r--r-- | lexlua/cpp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/cpp.lua b/lexlua/cpp.lua index 0f04061fe..42d5e624a 100644 --- a/lexlua/cpp.lua +++ b/lexlua/cpp.lua @@ -71,6 +71,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 |
