diff options
Diffstat (limited to 'lexlua/rust.lua')
-rw-r--r-- | lexlua/rust.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/rust.lua b/lexlua/rust.lua index af1184e12..07c8f52f9 100644 --- a/lexlua/rust.lua +++ b/lexlua/rust.lua @@ -87,7 +87,7 @@ lex:add_rule('operator', token(lexer.OPERATOR, -- Fold points. 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('//')) lex:add_fold_point(lexer.OPERATOR, '(', ')') lex:add_fold_point(lexer.OPERATOR, '{', '}') |