diff options
Diffstat (limited to 'lexlua/context.lua')
| -rw-r--r-- | lexlua/context.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/context.lua b/lexlua/context.lua index 7ff82f541..e5d567f09 100644 --- a/lexlua/context.lua +++ b/lexlua/context.lua @@ -47,7 +47,7 @@ lex:add_rule('operator', operator) lex:add_fold_point('environment', '\\start', '\\stop') lex:add_fold_point('environment', '\\begin', '\\end') lex:add_fold_point(lexer.OPERATOR, '{', '}') -lex:add_fold_point(lexer.COMMENT, '%', lexer.fold_line_comments('%')) +lex:add_fold_point(lexer.COMMENT, lexer.fold_consecutive_lines('%')) -- Embedded Lua. local luatex = lexer.load('lua') |
