

    <pre><code>
    local style_static_var = lexer.styles.variable .. {italics = true}
    </code></pre>

    <p>The color theme files in the <em>lexlua/themes/</em> folder give more examples of
    style definitions.</p>

    <p><a id="lexer.Token.Styles"></a></p>

    <h4>Token Styles</h4>

    <p>Lexers use the <a href="#lexer.add_style"><code>lexer.add_style()</code></a> function to assign styles to
    particular tokens. Recall the token definition and from the lexer template:</p>

    <pre><code>
  