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.5 KiB
XML
1 line
No EOL
8.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="FSharp" version="10" kateversion="5.62" section="Sources" extensions="*.fs;*.fsi;*.fsx" mimetype="" priority="10" author="Bas Bossink ([email protected])" license="LGPL"><highlighting><list name="keywords"><item>abstract</item><item>and</item><item>as</item><item>assert</item><item>base</item><item>class</item><item>delegate</item><item>dowcast</item><item>downto</item><item>elif</item><item>else</item><item>exception</item><item>extern</item><item>false</item><item>for</item><item>fun</item><item>function</item><item>functor</item><item>global</item><item>if</item><item>in</item><item>inherit</item><item>inline</item><item>interfaece</item><item>internal</item><item>lazy</item><item>let</item><item>match</item><item>member</item><item>mutable</item><item>namespace</item><item>new</item><item>not</item><item>null</item><item>of</item><item>or</item><item>override</item><item>private</item><item>public</item><item>rec</item><item>ref</item><item>return</item><item>static</item><item>then</item><item>to</item><item>true</item><item>try</item><item>type</item><item>upcast</item><item>use</item><item>val</item><item>void</item><item>when</item><item>while</item><item>with</item><item>yield</item></list><list name="core types"><item>bigint</item><item>bool</item><item>byte</item><item>char</item><item>decimal</item><item>double</item><item>float</item><item>float32</item><item>int</item><item>int16</item><item>int64</item><item>nativeint</item><item>option</item><item>sbyte</item><item>seq</item><item>single</item><item>string</item><item>uint16</item><item>uint32</item><item>uint64</item><item>unativeint</item><item>unit</item><item>void</item></list><list name="end"><item>end</item></list><list name="sig"><item>sig</item></list><list name="struct"><item>struct</item></list><list name="object"><item>object</item></list><list name="begin"><item>begin</item></list><list name="do"><item>do</item></list><list name="done"><item>done</item></list><list name="module_environment"><item>module</item><item>open</item></list><contexts><context name="Normal" attribute="Normal Text"><StringDetect String="(*" attribute="Comment" context="Multiline Comment" beginRegion="comment"/><StringDetect String="//" context="Singleline Comment"/><DetectChar char="(" attribute="Symbol" beginRegion="paren"/><DetectChar char=")" attribute="Symbol" endRegion="paren"/><DetectChar char="{" attribute="Symbol" beginRegion="record"/><DetectChar char="}" attribute="Symbol" endRegion="record"/><StringDetect String="[<" attribute="Symbol" beginRegion="attribute"/><StringDetect String=">]" attribute="Symbol" endRegion="attribute"/><StringDetect String="[|" attribute="Symbol" beginRegion="array"/><StringDetect String="|]" attribute="Symbol" endRegion="array"/><DetectChar char="[" attribute="Symbol" beginRegion="list"/><DetectChar char="]" attribute="Symbol" endRegion="list"/><keyword String="do" attribute="Keyword" beginRegion="loop"/><keyword String="done" attribute="Keyword" endRegion="loop"/><keyword String="module_environment" attribute="Directive" context="ModuleEnv"/><keyword String="begin" attribute="Region Marker" context="Block" beginRegion="block"/><keyword String="object" attribute="Region Marker" context="Object" beginRegion="object"/><keyword String="sig" attribute="Region Marker" context="Sig" beginRegion="sig"/><keyword String="struct" attribute="Region Marker" context="Struct" beginRegion="struct"/><RegExpr String="`\s*[A-Za-z\300-\326\330-\366\370-\377_][A-Za-z\300-\326\330-\366\370-\3770-9_']*" attribute="Constructor"/><RegExpr String="[A-Z][A-Za-z\300-\326\330-\366\370-\3770-9_']*\s*\." attribute="Module" context="ModuleEnv2" lookAhead="1"/><RegExpr String="[A-Z][A-Za-z\300-\326\330-\366\370-\3770-9_']*" attribute="Constructor"/><RegExpr String="#[A-Za-z\300-\326\330-\366\370-\377_][A-Za-z\300-\326\330-\366\370-\3770-9_']*.*$" attribute="Directive" firstNonSpace="1"/><DetectChar char='"' attribute="String" context="String Constant"/><RegExpr String="'((\\[ntbr'"\\]|\\[0-9]{3}|\\x[0-9A-Fa-f]{2})|[^'])'" attribute="Character"/><StringDetect String="<<" attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant"/><RegExpr String="<:[A-Za-z\300-\326\330-\366\370-\377_][A-Za-z\300-\326\330-\366\370-\3770-9_']*<" attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant"/><keyword String="keywords" attribute="Keyword"/><keyword String="core types" attribute="Core Data Type"/><RegExpr String="[A-Za-z\300-\326\330-\366\370-\377_][A-Za-z\300-\326\330-\366\370-\3770-9_']*" attribute="Identifier"/><RegExpr String="-?0[xX][0-9A-Fa-f_]+" attribute="Hexadecimal"/><RegExpr String="-?0[oO][0-7_]+" attribute="Octal"/><RegExpr String="-?0[bB][01_]+" attribute="Binary"/><RegExpr String="-?[0-9][0-9_]*((\.([0-9][0-9_]*)?([eE][-+]?[0-9][0-9_]*)?)|([eE][-+]?[0-9][0-9_]*))" attribute="Float"/><RegExpr String="-?[0-9][0-9_]*" attribute="Decimal"/></context><context name="Camlp4 Quotation Constant" attribute="Camlp4 Quotation"><StringDetect String=">>" attribute="Camlp4 Quotation" context="#pop"/><StringDetect String="<<" attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant"/><RegExpr String="<:[A-Za-z\300-\326\330-\366\370-\377_][A-Za-z\300-\326\330-\366\370-\3770-9_']*<" attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant"/><RegExpr String="\\(\\|>>|<<|<:[A-Za-z\300-\326\330-\366\370-\377_][A-Za-z\300-\326\330-\366\370-\3770-9_']*<)" attribute="Escaped characters"/></context><context name="ModuleEnv2" attribute="Normal Text"><RegExpr String="[A-Z][A-Za-z\300-\326\330-\366\370-\3770-9_']*" attribute="Module"/><DetectSpaces attribute="Normal Text"/><DetectChar char="." attribute="Keyword" context="#pop"/></context><context name="Multiline Comment" attribute="Comment"><StringDetect String="*)" attribute="Comment" context="#pop" endRegion="comment"/><StringDetect String="(*" attribute="Comment" context="Multiline Comment" beginRegion="comment"/><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="Block" attribute="Normal Text"><keyword String="end" attribute="Region Marker" context="#pop" endRegion="block"/><IncludeRules context="Normal"/></context><context name="ModuleEnv" attribute="Normal Text" fallthroughContext="#pop"><DetectSpaces attribute="Normal Text"/><RegExpr String="[A-Z][A-Za-z\300-\326\330-\366\370-\3770-9_']*\s*\." attribute="Module" context="ModuleEnv2" lookAhead="1"/><RegExpr String="[A-Z][A-Za-z\300-\326\330-\366\370-\3770-9_']*" attribute="Module" context="#pop"/></context><context name="Object" attribute="Normal Text"><keyword String="end" attribute="Region Marker" context="#pop" endRegion="object"/><IncludeRules context="Normal"/></context><context name="Sig" attribute="Normal Text"><keyword String="end" attribute="Region Marker" context="#pop" endRegion="sig"/><IncludeRules context="Normal"/></context><context name="Singleline Comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="String Constant" attribute="String"><DetectChar char='"' attribute="String" context="#pop"/><RegExpr String="(\\[ntbr'"\\]|\\[0-9]{3}|\\x[0-9A-Fa-f]{2})|\\$" attribute="Escaped characters"/></context><context name="Struct" attribute="Normal Text"><keyword String="end" attribute="Region Marker" context="#pop" endRegion="struct"/><IncludeRules context="Normal"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Identifier" defStyleNum="dsNormal"/><itemData name="Symbol" defStyleNum="dsOperator"/><itemData name="Keyword" defStyleNum="dsKeyword"/><itemData name="Core Data Type" defStyleNum="dsDataType"/><itemData name="Decimal" defStyleNum="dsDecVal"/><itemData name="Hexadecimal" defStyleNum="dsBaseN"/><itemData name="Octal" defStyleNum="dsBaseN"/><itemData name="Binary" defStyleNum="dsBaseN"/><itemData name="Float" defStyleNum="dsFloat"/><itemData name="Character" defStyleNum="dsChar"/><itemData name="String" defStyleNum="dsString"/><itemData name="Escaped characters" defStyleNum="dsSpecialChar"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Camlp4 Quotation" defStyleNum="dsString"/><itemData name="Directive" defStyleNum="dsOthers"/><itemData name="Constructor" defStyleNum="dsNormal"/><itemData name="Module" defStyleNum="dsNormal"/><itemData name="Region Marker" defStyleNum="dsKeyword"/></itemDatas></highlighting><general><keywords casesensitive="1"/><comments><comment name="singleLine" start="//"/><comment name="multiLine" start="(*" end="*)" region="comment"/></comments></general></language> |