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
8.9 KiB
XML
1 line
No EOL
8.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Vala" section="Sources" version="10" kateversion="5.62" indenter="cstyle" extensions="*.vala" mimetype="text/x-vala" priority="15" author="Antoni Boucher ([email protected])" license="LGPLv2+"><highlighting><list name="keywords"><item>abstract</item><item>as</item><item>async</item><item>base</item><item>break</item><item>case</item><item>catch</item><item>class</item><item>const</item><item>construct</item><item>continue</item><item>default</item><item>delegate</item><item>delete</item><item>do</item><item>dynamic</item><item>else</item><item>ensures</item><item>enum</item><item>errordomain</item><item>extern</item><item>false</item><item>finally</item><item>for</item><item>foreach</item><item>get</item><item>global</item><item>if</item><item>in</item><item>inline</item><item>interface</item><item>internal</item><item>is</item><item>lock</item><item>namespace</item><item>new</item><item>null</item><item>out</item><item>override</item><item>owned</item><item>private</item><item>protected</item><item>public</item><item>ref</item><item>requires</item><item>result</item><item>return</item><item>set</item><item>signal</item><item>sizeof</item><item>static</item><item>struct</item><item>switch</item><item>this</item><item>throw</item><item>throws</item><item>true</item><item>try</item><item>typeof</item><item>unowned</item><item>using</item><item>value</item><item>virtual</item><item>weak</item><item>while</item><item>yield</item></list><list name="extensions"><item>connect</item><item>connect_after</item><item>disconnect</item><item>emit</item></list><list name="types"><item>bool</item><item>char</item><item>double</item><item>float</item><item>int</item><item>int16</item><item>int32</item><item>int64</item><item>int8</item><item>long</item><item>short</item><item>size_t</item><item>ssize_t</item><item>string</item><item>uchar</item><item>uint</item><item>uint16</item><item>uint32</item><item>uint64</item><item>uint8</item><item>ulong</item><item>unichar</item><item>ushort</item><item>var</item><item>void</item></list><contexts><context name="Normal" attribute="Normal Text"><DetectSpaces/><RegExpr String="#\s*if\s+0\s*$" attribute="Preprocessor" context="Outscoped" beginRegion="PP" firstNonSpace="1"/><DetectChar char="#" context="AfterHash" firstNonSpace="1" lookAhead="1"/><keyword String="keywords" attribute="Keyword"/><keyword String="extensions" attribute="Extensions"/><keyword String="types" attribute="Data Type"/><HlCChar attribute="Char"/><StringDetect String='@"' attribute="String" context="String Template"/><StringDetect String='"""' attribute="String" context="MultiLine String"/><DetectChar char='"' attribute="String" context="String"/><DetectIdentifier/><Float attribute="Float" context="Float Suffixes"/><HlCOct attribute="Octal"/><HlCHex attribute="Hex"/><Int attribute="Decimal" context="Int Suffixes"/><IncludeRules context="FindComments"/><DetectChar char="{" attribute="Symbol" beginRegion="Brace1"/><DetectChar char="}" attribute="Symbol" endRegion="Brace1"/><AnyChar String=":!%&()+,-/.*<=>?[]{|}~^;" attribute="Symbol"/></context><context name="FindComments" attribute="Normal Text" lineEndContext="#pop"><StringDetect String="//" attribute="Comment" context="MatchComment" lookAhead="1"/><StringDetect String="/*" attribute="Comment" context="MatchComment" lookAhead="1"/></context><context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop"><LineContinue attribute="Preprocessor"/><RangeDetect char1='"' char='"' attribute="Prep. Lib"/><RangeDetect char1=">" char="<" attribute="Prep. Lib"/><IncludeRules context="FindComments"/></context><context name="MatchComment" attribute="Normal Text" fallthroughContext="#pop" lineEndContext="#pop"><StringDetect String="//BEGIN" attribute="Region Marker" context="#pop!Region Marker" beginRegion="Region1" firstNonSpace="1"/><StringDetect String="//END" attribute="Region Marker" context="#pop!Region Marker" endRegion="Region1" firstNonSpace="1"/><IncludeRules context="##Doxygen"/><StringDetect String="//" attribute="Comment" context="#pop!Comment"/><StringDetect String="/*" attribute="Comment" context="#pop!MultiLine Comment" beginRegion="Comment"/></context><context name="Outscoped intern" attribute="Comment"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/><DetectChar char='"' attribute="String" context="String"/><IncludeRules context="FindComments"/><RegExpr String="#\s*if" attribute="Comment" context="Outscoped intern" beginRegion="PP" firstNonSpace="1"/><RegExpr String="#\s*endif" attribute="Comment" context="#pop" endRegion="PP" firstNonSpace="1"/></context><context name="Region Marker" attribute="Region Marker" lineEndContext="#pop"/><context name="String" attribute="String" lineEndContext="#pop"><LineContinue attribute="String"/><HlCStringChar attribute="String Char"/><DetectChar char='"' attribute="String" context="#pop"/></context><context name="AfterHash" attribute="Error" lineEndContext="#pop"><RegExpr String="#\s*if(?=\s+\S)" attribute="Preprocessor" context="Preprocessor" beginRegion="PP" insensitive="1" firstNonSpace="1"/><RegExpr String="#\s*endif" attribute="Preprocessor" context="Preprocessor" endRegion="PP" insensitive="1" firstNonSpace="1"/><RegExpr String="#\s*(?:el(?:se|if))|#\s+[0-9]+" attribute="Preprocessor" context="Preprocessor" insensitive="1" firstNonSpace="1"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><LineContinue attribute="Comment"/><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="Float Suffixes" attribute="Float" fallthroughContext="#pop" lineEndContext="#pop"><AnyChar String="fFdD" attribute="Float" context="#pop"/></context><context name="Int Suffixes" attribute="Decimal" fallthroughContext="#pop" lineEndContext="#pop"><StringDetect String="ULL" attribute="Decimal" context="#pop" insensitive="1"/><StringDetect String="UL" attribute="Decimal" context="#pop" insensitive="1"/><StringDetect String="LU" attribute="Decimal" context="#pop" insensitive="1"/><StringDetect String="LL" attribute="Decimal" context="#pop" insensitive="1"/><AnyChar String="ULul" attribute="Decimal" context="#pop"/></context><context name="MultiLine Comment" attribute="Comment"><DetectSpaces/><StringDetect String="*/" attribute="Comment" context="#pop" endRegion="Comment"/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="MultiLine String" attribute="String"><StringDetect String='"""' attribute="String" context="#pop"/></context><context name="Outscoped" attribute="Comment"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/><IncludeRules context="FindComments"/><RegExpr String="#\s*if" attribute="Comment" context="Outscoped intern" beginRegion="PP" firstNonSpace="1"/><RegExpr String="#\s*el(?:se|if)" attribute="Preprocessor" context="#pop" firstNonSpace="1"/><RegExpr String="#\s*endif" attribute="Preprocessor" context="#pop" endRegion="PP" firstNonSpace="1"/></context><context name="String Template" attribute="String" lineEndContext="#pop"><IncludeRules context="String Template Variable"/><LineContinue attribute="String"/><HlCStringChar attribute="String Char"/><DetectChar char='"' attribute="String" context="#pop"/></context><context name="String Template Variable" attribute="String"><StringDetect String="$$" attribute="Escaped Code"/><RegExpr String="\$[a-zA-Z_][a-zA-Z0-9_]*|\$\(.*?\)" attribute="Variable" minimal="1"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Char" defStyleNum="dsChar" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Data Type" defStyleNum="dsDataType" spellChecking="0"/><itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Error" defStyleNum="dsError" spellChecking="0"/><itemData name="Escaped Code" defStyleNum="dsSpecialChar" bold="1" italic="0" spellChecking="0"/><itemData name="Extensions" defStyleNum="dsExtension" bold="1" italic="0" spellChecking="0"/><itemData name="Float" defStyleNum="dsFloat" spellChecking="0"/><itemData name="Hex" defStyleNum="dsBaseN" spellChecking="0"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Octal" defStyleNum="dsBaseN" spellChecking="0"/><itemData name="Prep. Lib" defStyleNum="dsImport" spellChecking="0"/><itemData name="Preprocessor" defStyleNum="dsPreprocessor" spellChecking="0"/><itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="0"/><itemData name="String" defStyleNum="dsString"/><itemData name="String Char" defStyleNum="dsSpecialChar"/><itemData name="Symbol" defStyleNum="dsOperator" spellChecking="0"/><itemData name="Variable" defStyleNum="dsVariable" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="//"/><comment name="multiLine" start="/*" end="*/" region="Comment"/></comments><keywords casesensitive="1"/></general></language> |