diff options
Diffstat (limited to 'lexlua/ruby.lua')
| -rw-r--r-- | lexlua/ruby.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/ruby.lua b/lexlua/ruby.lua index cdfed8ae3..ca9b9b818 100644 --- a/lexlua/ruby.lua +++ b/lexlua/ruby.lua @@ -126,6 +126,6 @@ lex:add_fold_point(lexer.OPERATOR, '(', ')') lex:add_fold_point(lexer.OPERATOR, '[', ']') lex:add_fold_point(lexer.OPERATOR, '{', '}') lex:add_fold_point(lexer.COMMENT, '=begin', '=end') -lex:add_fold_point(lexer.COMMENT, '#', lexer.fold_line_comments('#')) +lex:add_fold_point(lexer.COMMENT, lexer.fold_consecutive_lines('#')) return lex |
