old_point(lexer.KEYWORD, 'function', 'end')
    lex:add_fold_point(lexer.KEYWORD, 'repeat', 'until')
    </code></pre>

    <p>If your lexer has case-insensitive keywords as fold points, simply add a
    <code>case_insensitive_fold_points = true</code> option to <a href="#lexer.new"><code>lexer.new()</code></a>, and
    specify keywords in lower case.</p>

    <p>If your lexer needs to do some additional processing in order to determine if
    a token is a fold point, pass a function that returns an integer