diff options
Diffstat (limited to 'lexlua/io_lang.lua')
-rw-r--r-- | lexlua/io_lang.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/io_lang.lua b/lexlua/io_lang.lua index c98b1acd3..6660d0640 100644 --- a/lexlua/io_lang.lua +++ b/lexlua/io_lang.lua @@ -46,6 +46,6 @@ lex:add_rule('operator', token(lexer.OPERATOR, -- Fold points. 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 |