Highlighting relied on the syntax-highlighting package, so removing it left every file uncoloured. The 462 definitions now live in assets/syntax and are compressed into the binary at build time, unpacked per language when used. User .xml files still add to or replace them, and the licence each file declares is recorded in assets/syntax/LICENSES.md. Also moves files to the trash without needing gio. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 line
No EOL
7.5 KiB
XML
1 line
No EOL
7.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Jinja/TOML" section="Other" extensions="Cargo.lock.jinja;Cargo.lock.jinja2;Cargo.lock.j2;*.toml.jinja;*.toml.jinja2;*.toml.j2;*.rc.jinja;*.rc.jinja2;*.rc.j2;*.conf.jinja;*.conf.jinja2;*.conf.j2;*.cfg.jinja;*.cfg.jinja2;*.cfg.j2;*.cf.jinja;*.cf.jinja2;*.cf.j2;*.cnf.jinja;*.cnf.jinja2;*.cnf.j2;*.ini.jinja;*.ini.jinja2;*.ini.j2;mirrorlist.jinja;mirrorlist.jinja2;mirrorlist.j2" mimetype="text/x-toml.jinja;application/toml.jinja" version="13" kateversion="5.62" author="[email protected]" license="MIT" priority="-1" generated="true"><highlighting><list name="bools"><item>false</item><item>true</item></list><contexts><context name="Toml" attribute="Error"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces attribute="Whitespace"/><StringDetect String="[[" attribute="TableHeader" context="NestedTableHeader" endRegion="Table"/><DetectChar char="[" attribute="TableHeader" context="TableHeader" endRegion="Table"/><DetectChar char="=" attribute="Assignment" context="Value"/><DetectChar char="#" attribute="Comment" context="Comment"/><IncludeRules context="FindKey"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces/><IncludeRules context="##Jinja/Comments"/><DetectIdentifier/></context><context name="FindEscapedChar" attribute="String" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><RegExpr String='\\[btnfr"\\]|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}' attribute="Escape"/><RegExpr String="\\[uU][0-9a-fA-F]*|\\." attribute="Error"/></context><context name="Value" attribute="Error" fallthroughContext="#pop" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces attribute="Whitespace"/><WordDetect String="true" attribute="Boolean true" context="#pop"/><WordDetect String="false" attribute="Boolean false" context="#pop"/><StringDetect String='"""' attribute="String" context="#pop!MultilineString"/><DetectChar char='"' attribute="String" context="#pop!String"/><StringDetect String="'''" attribute="String" context="#pop!LitMultilineString"/><DetectChar char="'" attribute="String" context="#pop!LitString"/><DetectChar char="[" attribute="Array" context="#pop!Array"/><DetectChar char="{" attribute="InlineTable" context="#pop!InlineTable"/><RegExpr String="[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]([T ][0-9][0-9]:[0-9][0-9]:[0-9][0-9](\.[0-9]+)?([+-][0-9][0-9]:[0-9][0-9]|Z)?)?|[0-9][0-9]:[0-9][0-9]:[0-9][0-9](\.[0-9]+)?" attribute="Date" context="#pop"/><RegExpr String="[+-]?(0x[0-9a-fA-F]+(_[0-9a-fA-F]+)*|0o[0-7]+(_[0-7]+)*|0b[01]+(_[01]+)*|(0|[1-9][0-9]*+(_[0-9]++)*+)(?!(\.|[eE][+-]?)[0-9]))" attribute="Int" context="#pop"/><RegExpr String="[+-]?((0|[1-9][0-9]*+(_[0-9]++)*+)(\.[0-9]+(_[0-9]++)*+([eE][+-]?[0-9]+(_[0-9]++)*+)?|[eE][+-]?[0-9]+(_[0-9]++)*+)|inf|nan)" attribute="Float" context="#pop"/></context><context name="FindKey" attribute="Key"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char="." attribute="Key"/><RegExpr String="[A-Za-z0-9_-]+" attribute="Key"/><DetectChar char='"' attribute="Key" context="QuotedKey"/><DetectChar char="'" attribute="Key" context="LitQuotedKey"/></context><context name="InArray" attribute="Error"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char="]" attribute="Array" context="#pop#pop"/><DetectChar char="," attribute="Error"/><DetectChar char="#" attribute="Comment" context="Comment"/><IncludeRules context="Value"/></context><context name="LitQuotedKey" attribute="Key" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char="'" attribute="Key" context="#pop"/></context><context name="QuotedKey" attribute="Key" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char='"' attribute="Key" context="#pop"/><IncludeRules context="FindEscapedChar"/></context><context name="TableHeaderCommon" attribute="TableHeader" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces attribute="Whitespace"/><DetectChar char="." attribute="TableHeader"/><RegExpr String="[A-Za-z0-9_-]+" attribute="TableHeader"/><DetectChar char='"' attribute="TableHeader" context="QuotedKey"/><DetectChar char="'" attribute="TableHeader" context="LitQuotedKey"/></context><context name="Array" attribute="Array" fallthroughContext="InArray"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces attribute="Whitespace"/><DetectChar char="]" attribute="Array" context="#pop"/><DetectChar char="#" attribute="Comment" context="Comment"/><DetectChar char="," attribute="NextEntry" context="InArray"/></context><context name="InlineTable" attribute="InlineTable"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char="=" attribute="Assignment" context="Value"/><DetectChar char="#" attribute="Comment" context="Comment"/><DetectChar char="}" attribute="InlineTable" context="#pop"/><DetectChar char="," attribute="NextEntry"/><IncludeRules context="FindKey"/></context><context name="LitMultilineString" attribute="LitString"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String="'''''" attribute="String" context="#pop"/><StringDetect String="''''" attribute="String" context="#pop"/><StringDetect String="'''" attribute="String" context="#pop"/></context><context name="LitString" attribute="LitString" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char="'" attribute="String" context="#pop"/></context><context name="MultilineString" attribute="String"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String='"""""' attribute="String" context="#pop"/><StringDetect String='""""' attribute="String" context="#pop"/><StringDetect String='"""' attribute="String" context="#pop"/><LineContinue attribute="Escape"/><IncludeRules context="FindEscapedChar"/></context><context name="NestedTableHeader" attribute="TableHeader" fallthroughContext="#pop" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String="]]" attribute="TableHeader" context="#pop" beginRegion="Table"/><IncludeRules context="TableHeaderCommon"/></context><context name="String" attribute="String" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char='"' attribute="String" context="#pop"/><IncludeRules context="FindEscapedChar"/></context><context name="TableHeader" attribute="TableHeader" fallthroughContext="#pop" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char="]" attribute="TableHeader" context="#pop" beginRegion="Table"/><IncludeRules context="TableHeaderCommon"/></context></contexts><itemDatas><itemData name="Whitespace" defStyleNum="dsNormal"/><itemData name="Key" defStyleNum="dsDataType"/><itemData name="TableHeader" defStyleNum="dsKeyword"/><itemData name="Assignment" defStyleNum="dsOperator"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Date" defStyleNum="dsBaseN"/><itemData name="Float" defStyleNum="dsFloat"/><itemData name="Int" defStyleNum="dsDecVal"/><itemData name="Boolean true" defStyleNum="dsConstant"/><itemData name="Boolean false" defStyleNum="dsConstant"/><itemData name="String" defStyleNum="dsString"/><itemData name="LitString" defStyleNum="dsVerbatimString"/><itemData name="Escape" defStyleNum="dsSpecialChar"/><itemData name="Array" defStyleNum="dsOperator"/><itemData name="InlineTable" defStyleNum="dsOperator"/><itemData name="NextEntry" defStyleNum="dsOperator"/><itemData name="Error" defStyleNum="dsError"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#" position="afterwhitespace"/></comments></general></language> |