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
13 KiB
XML
1 line
No EOL
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Jinja/XML" version="27" kateversion="5.62" section="Other" extensions="*.page.jinja;*.page.jinja2;*.page.j2;*.docbook.jinja;*.docbook.jinja2;*.docbook.j2;*.xml.jinja;*.xml.jinja2;*.xml.j2;*ui.rc.jinja;*ui.rc.jinja2;*ui.rc.j2;*.daml.jinja;*.daml.jinja2;*.daml.j2;*.rdf.jinja;*.rdf.jinja2;*.rdf.j2;*.rss.jinja;*.rss.jinja2;*.rss.j2;*.xspf.jinja;*.xspf.jinja2;*.xspf.j2;*.xsd.jinja;*.xsd.jinja2;*.xsd.j2;*.svg.jinja;*.svg.jinja2;*.svg.j2;*.ui.jinja;*.ui.jinja2;*.ui.j2;*.kcfg.jinja;*.kcfg.jinja2;*.kcfg.j2;*.qrc.jinja;*.qrc.jinja2;*.qrc.j2;*.wsdl.jinja;*.wsdl.jinja2;*.wsdl.j2;*.scxml.jinja;*.scxml.jinja2;*.scxml.j2;*.xbel.jinja;*.xbel.jinja2;*.xbel.j2;*.dae.jinja;*.dae.jinja2;*.dae.j2;*.sch.jinja;*.sch.jinja2;*.sch.j2;*.brd.jinja;*.brd.jinja2;*.brd.j2;*.fb2.jinja;*.fb2.jinja2;*.fb2.j2" mimetype="text/xml.jinja;text/book.jinja;text/daml.jinja;text/rdf.jinja;application/rss+xml.jinja;application/xspf+xml.jinja;image/svg+xml.jinja;application/x-designer.jinja;application/x-xbel.jinja;application/xml.jinja;application/scxml+xml.jinja;application/vnd.oasis.opendocument.text-flat-xml.jinja;application/vnd.oasis.opendocument.graphics-flat-xml.jinja;application/vnd.oasis.opendocument.presentation-flat-xml.jinja;application/vnd.oasis.opendocument.spreadsheet-flat-xml.jinja;application/gpx+xml.jinja;application/x-fictionbook+xml.jinja" indenter="xml" author="Wilbert Berendsen ([email protected])" license="MIT" priority="0" generated="true"><highlighting><contexts><context name="Start" attribute="Normal Text"><IncludeRules context="jinja_boot##Jinja"/><IncludeRules context="FindText"/><IncludeRules context="FindElement"/></context><context name="PI" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String="?>" attribute="PI Symbols" context="#pop" endRegion="pi"/></context><context name="Attribute" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char="=" attribute="Attribute Separator" context="#pop!Value"/><DetectSpaces attribute="Other Text"/><DetectChar char='"' attribute="Error" context="Value DQ"/><DetectChar char="'" attribute="Error" context="Value SQ"/><IncludeRules context="FindAttributeCommonError"/></context><context name="Doctype Markupdecl" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char=">" attribute="Doctype Symbols" context="#pop"/><DetectChar char='"' attribute="Value" context="Doctype Markupdecl DQ"/><DetectChar char="'" attribute="Value" context="Doctype Markupdecl SQ"/></context><context name="Element" attribute="Other Text" fallthroughContext="ElementCommonError"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String="/>" attribute="Element Symbols" context="#pop" endRegion="element"/><DetectChar char=">" attribute="Element Symbols" context="#pop"/><DetectSpaces attribute="Other Text"/><RegExpr String="(?:^|(?<=\s))[[:alpha:]_:][\w.:_-]*" attribute="Attribute" context="Attribute"/><DetectChar char="/" attribute="Error" context="#pop" endRegion="element"/><DetectChar char="=" attribute="Error" context="Value"/><RegExpr String="[[:alpha:]_:][\w.:_-]*" attribute="Error" context="Attribute"/></context><context name="ElementCommonError" attribute="Error"><IncludeRules context="jinja_boot##Jinja"/><RegExpr String="[-\w.:_=]+|[^-\w.:_=/<>\s]+[-\w.:_]*|/>|[^<]" attribute="Error" context="#pop#pop"/><RegExpr String="<[[:alpha:]_:][\w.:_-]*" attribute="Error" context="#pop#pop!Element"/><StringDetect String="<!--" attribute="Error" context="#pop#pop!Comment" beginRegion="comment"/><StringDetect String="<![CDATA[" attribute="Error" context="#pop#pop!CDATA" beginRegion="cdata"/><DetectChar char="<" attribute="Error" context="#pop#pop"/></context><context name="FindPEntityRefs" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><RegExpr String="&(?:#[0-9]+|#[xX][0-9A-Fa-f]+|[[:alpha:]_:][\w.:_-]*);" attribute="EntityRef"/><RegExpr String="%[[:alpha:]_:][\w.:_-]*;" attribute="PEntityRef"/><AnyChar String="&%<" attribute="Error"/></context><context name="Value" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char='"' attribute="Value" context="Value DQ"/><DetectChar char="'" attribute="Value" context="Value SQ"/><DetectSpaces attribute="Other Text"/><IncludeRules context="FindAttributeCommonError"/></context><context name="CDATA" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces/><DetectIdentifier/><StringDetect String="]]>" attribute="CDATA Symbols" context="#pop" endRegion="cdata"/></context><context name="Comment" attribute="Comment"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces/><StringDetect String="--" context="EndComment" lookAhead="1"/><IncludeRules context="##Jinja/Comments"/><DetectIdentifier/></context><context name="Doctype" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char=">" attribute="Doctype Symbols" context="#pop" endRegion="doctype"/><DetectChar char="[" attribute="Doctype Symbols" context="Doctype Internal Subset" beginRegion="int_subset"/></context><context name="El End" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char=">" attribute="Element Symbols" context="#pop#pop"/><DetectSpaces attribute="Other Text"/><IncludeRules context="ElementCommonError"/></context><context name="FindAttributeCommonError" attribute="Error"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char=">" attribute="Error" context="#pop#pop"/><StringDetect String="/>" attribute="Error" context="#pop#pop" endRegion="element"/><DetectChar char="/" attribute="Error" context="#pop#pop" endRegion="element"/><RegExpr String="[[:alpha:]_:][\w.:_-]*(?=\s*=)" attribute="Error" context="#pop!Attribute"/><IncludeRules context="ElementCommonError"/></context><context name="FindComment" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String="<!--" attribute="Comment" context="Comment" beginRegion="comment"/></context><context name="FindEntityRefs" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><RegExpr String="&(?:#[0-9]+|#[xX][0-9A-Fa-f]+|[[:alpha:]_:][\w.:_-]*);" attribute="EntityRef"/></context><context name="FindProcessingInstruction" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><RegExpr String="<\?(?=([\w:_-]*))" attribute="PI Symbols" context="PI TagName" beginRegion="pi"/></context><context name="FindReservedChar" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><AnyChar String="&<" attribute="Error"/></context><context name="Value DQ" attribute="Value"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char='"' attribute="Value" context="#pop#pop"/><IncludeRules context="ValueQ"/></context><context name="Value SQ" attribute="Value"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char="'" attribute="Value" context="#pop#pop"/><IncludeRules context="ValueQ"/></context><context name="ValueQ" attribute="Value"><IncludeRules context="jinja_boot##Jinja"/><DetectIdentifier attribute="Value"/><DetectSpaces attribute="Value"/><Int attribute="Value"/><IncludeRules context="FindEntityRefs"/><IncludeRules context="FindReservedChar"/></context><context name="CDATAStart" attribute="Other Text" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String="<![" attribute="CDATA Symbols" beginRegion="cdata"/><StringDetect String="CDATA" attribute="CDATA"/><DetectChar char="[" attribute="CDATA Symbols" context="#pop!CDATA"/></context><context name="Doctype Internal Subset" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces/><DetectChar char="]" attribute="Doctype Symbols" context="#pop" endRegion="int_subset"/><RegExpr String="<!(?=(ELEMENT|ENTITY|ATTLIST|NOTATION)\b)" attribute="Doctype Symbols" context="Doctype Markupdecl TagName"/><IncludeRules context="FindComment"/><IncludeRules context="FindProcessingInstruction"/><IncludeRules context="FindPEntityRefs"/></context><context name="Doctype Markupdecl DQ" attribute="Value"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char='"' attribute="Value" context="#pop"/><IncludeRules context="FindPEntityRefs"/></context><context name="Doctype Markupdecl SQ" attribute="Value"><IncludeRules context="jinja_boot##Jinja"/><DetectChar char="'" attribute="Value" context="#pop"/><IncludeRules context="FindPEntityRefs"/></context><context name="Doctype Markupdecl TagName" attribute="Other Text" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><DetectIdentifier attribute="Doctype" context="#pop!Doctype Markupdecl VariableName"/></context><context name="Doctype Markupdecl VariableName" attribute="Other Text" fallthroughContext="#pop!Doctype Markupdecl" lineEndContext="#pop!Doctype Markupdecl"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces/><DetectChar char="%" attribute="Doctype Symbols"/><RegExpr String="[[:alpha:]_:][\w.:_-]*" attribute="Doctype Name" context="#pop!Doctype Markupdecl"/></context><context name="DoctypeTagName" attribute="Other Text" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String="DOCTYPE" attribute="Doctype" context="#pop!DoctypeVariableName"/></context><context name="DoctypeVariableName" attribute="Other Text" fallthroughContext="#pop!Doctype"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces/><RegExpr String="[[:alpha:]_:][\w.:_-]*" attribute="Doctype Name" context="#pop!Doctype"/></context><context name="El End TagName" attribute="Other Text" lineEndContext="#pop!El End"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String="%1" attribute="Element" context="El End" dynamic="1"/></context><context name="ElementTagName" attribute="Other Text" lineEndContext="#pop!Element"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String="%1" attribute="Element" context="#pop!Element" dynamic="1"/></context><context name="EndComment" attribute="Comment" fallthroughContext="#pop" lineEndContext="#pop"><IncludeRules context="jinja_boot##Jinja"/><StringDetect String="-->" attribute="Comment" context="#pop#pop" endRegion="comment"/><DetectChar char="-" attribute="Error"/></context><context name="FindElement" attribute="Normal Text"><IncludeRules context="jinja_boot##Jinja"/><RegExpr String="<(?=([[:alpha:]_:][\w.:_-]*))" attribute="Element Symbols" context="ElementTagName" beginRegion="element"/><RegExpr String="</(?=([[:alpha:]_:][\w.:_-]*))" attribute="Element Symbols" context="El End TagName" endRegion="element"/><IncludeRules context="FindComment"/><StringDetect String="<![CDATA[" attribute="CDATA" context="CDATAStart" lookAhead="1"/><RegExpr String="<!(?=DOCTYPE(\s|$))" attribute="Doctype Symbols" context="DoctypeTagName" beginRegion="doctype"/><IncludeRules context="FindEntityRefs"/><IncludeRules context="FindProcessingInstruction"/><IncludeRules context="FindError"/></context><context name="FindError" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><IncludeRules context="FindReservedChar"/><StringDetect String="]]>" attribute="Error"/></context><context name="FindText" attribute="Normal Text"><IncludeRules context="jinja_boot##Jinja"/><DetectSpaces/><DetectIdentifier/><Int/></context><context name="PI TagName" attribute="Other Text" fallthroughContext="#pop!PI" lineEndContext="#pop!PI"><IncludeRules context="jinja_boot##Jinja"/><RegExpr String="xml(?=\s|$)" attribute="Processing Instruction" context="#pop!PI-XML" insensitive="1"/><StringDetect String="%1" attribute="Processing Instruction" context="#pop!PI" dynamic="1"/></context><context name="PI-XML" attribute="Other Text"><IncludeRules context="jinja_boot##Jinja"/><IncludeRules context="PI"/><DetectSpaces attribute="Other Text"/><DetectChar char="=" attribute="Attribute Separator" context="Value"/><RegExpr String="(?:^|(?<=\s))[[:alpha:]_:][\w.:_-]*" attribute="Attribute"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Other Text" defStyleNum="dsNormal"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="CDATA" defStyleNum="dsBaseN" bold="1" italic="0" spellChecking="0"/><itemData name="CDATA Symbols" defStyleNum="dsBaseN" bold="0" italic="0" spellChecking="0"/><itemData name="Processing Instruction" defStyleNum="dsFunction" bold="1" italic="0" spellChecking="0"/><itemData name="PI Symbols" defStyleNum="dsFunction" bold="0" italic="0" spellChecking="0"/><itemData name="Doctype" defStyleNum="dsDataType" bold="1" italic="0" spellChecking="0"/><itemData name="Doctype Name" defStyleNum="dsDataType" bold="0" italic="0" spellChecking="0"/><itemData name="Doctype Symbols" defStyleNum="dsDataType" bold="0" italic="0" spellChecking="0"/><itemData name="Element" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Element Symbols" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Attribute" defStyleNum="dsOthers" spellChecking="0"/><itemData name="Attribute Separator" defStyleNum="dsOthers" spellChecking="0"/><itemData name="Value" defStyleNum="dsString" spellChecking="0"/><itemData name="EntityRef" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="PEntityRef" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Error" defStyleNum="dsError" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="multiLine" start="<!--" end="-->" region="comment"/></comments></general></language> |