mirror of
https://github.com/cheat/cheat.git
synced 2026-03-08 03:33:33 +01:00
chore(deps): bump chroma to v2 #735
Bump `alecthomas/chroma` to `v2`: https://github.com/cheat/cheat/issues/735
This commit is contained in:
44
vendor/github.com/alecthomas/chroma/v2/lexers/embedded/toml.xml
generated
vendored
Normal file
44
vendor/github.com/alecthomas/chroma/v2/lexers/embedded/toml.xml
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
<lexer>
|
||||
<config>
|
||||
<name>TOML</name>
|
||||
<alias>toml</alias>
|
||||
<filename>*.toml</filename>
|
||||
<filename>Pipfile</filename>
|
||||
<filename>poetry.lock</filename>
|
||||
<mime_type>text/x-toml</mime_type>
|
||||
</config>
|
||||
<rules>
|
||||
<state name="root">
|
||||
<rule pattern="\s+">
|
||||
<token type="Text"/>
|
||||
</rule>
|
||||
<rule pattern="#.*">
|
||||
<token type="Comment"/>
|
||||
</rule>
|
||||
<rule pattern="(false|true)\b">
|
||||
<token type="KeywordConstant"/>
|
||||
</rule>
|
||||
<rule pattern="\d\d\d\d-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d\+)?(Z|[+-]\d{2}:\d{2})">
|
||||
<token type="LiteralDate"/>
|
||||
</rule>
|
||||
<rule pattern="[+-]?[0-9](_?\d)*\.\d+">
|
||||
<token type="LiteralNumberFloat"/>
|
||||
</rule>
|
||||
<rule pattern="[+-]?[0-9](_?\d)*">
|
||||
<token type="LiteralNumberInteger"/>
|
||||
</rule>
|
||||
<rule pattern=""(\\\\|\\"|[^"])*"">
|
||||
<token type="LiteralStringDouble"/>
|
||||
</rule>
|
||||
<rule pattern="'(\\\\|\\'|[^'])*'">
|
||||
<token type="LiteralStringSingle"/>
|
||||
</rule>
|
||||
<rule pattern="[.,=\[\]{}]">
|
||||
<token type="Punctuation"/>
|
||||
</rule>
|
||||
<rule pattern="[A-Za-z0-9_-]+">
|
||||
<token type="NameOther"/>
|
||||
</rule>
|
||||
</state>
|
||||
</rules>
|
||||
</lexer>
|
||||
Reference in New Issue
Block a user