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,61 @@
<lexer>
<config>
<name>Sieve</name>
<alias>sieve</alias>
<filename>*.siv</filename>
<filename>*.sieve</filename>
</config>
<rules>
<state name="root">
<rule pattern="\s+">
<token type="Text"/>
</rule>
<rule pattern="[();,{}\[\]]">
<token type="Punctuation"/>
</rule>
<rule pattern="(?i)require">
<token type="KeywordNamespace"/>
</rule>
<rule pattern="(?i)(:)(addresses|all|contains|content|create|copy|comparator|count|days|detail|domain|fcc|flags|from|handle|importance|is|localpart|length|lowerfirst|lower|matches|message|mime|options|over|percent|quotewildcard|raw|regex|specialuse|subject|text|under|upperfirst|upper|value)">
<bygroups>
<token type="NameTag"/>
<token type="NameTag"/>
</bygroups>
</rule>
<rule pattern="(?i)(address|addflag|allof|anyof|body|discard|elsif|else|envelope|ereject|exists|false|fileinto|if|hasflag|header|keep|notify_method_capability|notify|not|redirect|reject|removeflag|setflag|size|spamtest|stop|string|true|vacation|virustest)">
<token type="NameBuiltin"/>
</rule>
<rule pattern="(?i)set">
<token type="KeywordDeclaration"/>
</rule>
<rule pattern="([0-9.]+)([kmgKMG])?">
<bygroups>
<token type="LiteralNumber"/>
<token type="LiteralNumber"/>
</bygroups>
</rule>
<rule pattern="#.*$">
<token type="CommentSingle"/>
</rule>
<rule pattern="/\*.*\*/">
<token type="CommentMultiline"/>
</rule>
<rule pattern="&#34;[^&#34;]*?&#34;">
<token type="LiteralString"/>
</rule>
<rule pattern="text:">
<token type="NameTag"/>
<push state="text"/>
</rule>
</state>
<state name="text">
<rule pattern="[^.].*?\n">
<token type="LiteralString"/>
</rule>
<rule pattern="^\.">
<token type="Punctuation"/>
<pop depth="1"/>
</rule>
</state>
</rules>
</lexer>