chore(deps): bump chroma to v2 #735

Bump `alecthomas/chroma` to `v2`:
https://github.com/cheat/cheat/issues/735
This commit is contained in:
Christopher Allen Lane
2023-12-13 12:54:32 -05:00
parent 6bf51e758f
commit 1790aec85d
600 changed files with 41727 additions and 17815 deletions

View File

@@ -0,0 +1,73 @@
<lexer>
<config>
<name>PkgConfig</name>
<alias>pkgconfig</alias>
<filename>*.pc</filename>
</config>
<rules>
<state name="curly">
<rule pattern="\}">
<token type="LiteralStringInterpol"/>
<pop depth="1"/>
</rule>
<rule pattern="\w+">
<token type="NameAttribute"/>
</rule>
</state>
<state name="spvalue">
<rule>
<include state="interp"/>
</rule>
<rule pattern="#.*$">
<token type="CommentSingle"/>
<pop depth="1"/>
</rule>
<rule pattern="\n">
<token type="Text"/>
<pop depth="1"/>
</rule>
<rule pattern="[^${}#\n]+">
<token type="Text"/>
</rule>
<rule pattern=".">
<token type="Text"/>
</rule>
</state>
<state name="root">
<rule pattern="#.*$">
<token type="CommentSingle"/>
</rule>
<rule pattern="^(\w+)(=)">
<bygroups>
<token type="NameAttribute"/>
<token type="Operator"/>
</bygroups>
</rule>
<rule pattern="^([\w.]+)(:)">
<bygroups>
<token type="NameTag"/>
<token type="Punctuation"/>
</bygroups>
<push state="spvalue"/>
</rule>
<rule>
<include state="interp"/>
</rule>
<rule pattern="[^${}#=:\n.]+">
<token type="Text"/>
</rule>
<rule pattern=".">
<token type="Text"/>
</rule>
</state>
<state name="interp">
<rule pattern="\$\$">
<token type="Text"/>
</rule>
<rule pattern="\$\{">
<token type="LiteralStringInterpol"/>
<push state="curly"/>
</rule>
</state>
</rules>
</lexer>