  local ws = token(lexer.WHITESPACE, lexer.space^1)
    lex:add_rule('whitespace', ws)
    </code></pre>

    <p>Why is a style not assigned to the <code>lexer.WHITESPACE</code> token? As mentioned
    earlier, lexers automatically associate tokens that use predefined token
    names with a particular style. Only tokens with custom token names need
    manual style associations. As an example, consider a custom whitespace token:</p>

    <pre><code>
    local ws = token('custom_whitespace', lexer.space^1)
 