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
5.5 KiB
XML
1 line
No EOL
5.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Idris" version="7" kateversion="5.62" section="Sources" extensions="*.idr" author="Alexander Shabalin" license="LGPL"><highlighting><list name="keywords"><item>abstract</item><item>auto</item><item>case</item><item>class</item><item>codata</item><item>constructor</item><item>covering</item><item>data</item><item>default</item><item>do</item><item>dsl</item><item>else</item><item>export</item><item>if</item><item>implementation</item><item>implicit</item><item>import</item><item>impossible</item><item>in</item><item>index_first</item><item>index_next</item><item>infix</item><item>infixl</item><item>infixr</item><item>instance</item><item>interface</item><item>lambda</item><item>let</item><item>module</item><item>mutual</item><item>namespace</item><item>of</item><item>parameters</item><item>partial</item><item>pattern</item><item>postulate</item><item>prefix</item><item>private</item><item>proof</item><item>public</item><item>record</item><item>rewrite</item><item>static</item><item>syntax</item><item>tactics</item><item>term</item><item>then</item><item>total</item><item>using</item><item>variable</item><item>where</item><item>with</item></list><list name="directives"><item>access</item><item>assert_total</item><item>default</item><item>dynamic</item><item>elim</item><item>error_handlers</item><item>error_reverse</item><item>flag</item><item>hide</item><item>include</item><item>language</item><item>lib</item><item>link</item><item>name</item><item>provide</item><item>reflection</item></list><list name="tactics"><item>applyTactic</item><item>attack</item><item>compute</item><item>exact</item><item>fill</item><item>focus</item><item>induction</item><item>intro</item><item>intros</item><item>let</item><item>refine</item><item>reflect</item><item>rewrite</item><item>solve</item><item>trivial</item><item>try</item></list><contexts><context name="code" attribute="Normal"><RegExpr String="---*(?=[^!#\$%&\*\+/<=>\?\@\^\|~\.:]|$)|\|\|\|(?=[^\-!#\$%&\*\+/<=>\?\@\^\|~\.:]|$)" attribute="Comment" context="line comment"/><StringDetect String="{-" attribute="Comment" context="block comment" beginRegion="BlockComment"/><RegExpr String="^\s*(?:[a-z]+\s+)*(?:[A-Za-z][A-Za-z0-9_]*'*|\([\-!#\$%&\*\+\./<=>\?@\\^\|~:]+\))\s*:" attribute="Normal" context="declaration" column="0" lookAhead="1"/><keyword String="keywords" attribute="Keyword"/><DetectChar char="%" attribute="Keyword" context="directive"/><keyword String="tactics" attribute="Tactic"/><DetectChar char="'" attribute="Char" context="char"/><DetectChar char='"' attribute="String" context="string"/><Int attribute="Decimal"/><RegExpr String="0[Xx][0-9A-Fa-f]+" attribute="Hex"/><RegExpr String="\d+\.\d+([eE][-+]?\d+)?" attribute="Float"/><RegExpr String="([A-Z][a-zA-Z0-9_]*'*|_\|_)" attribute="Type"/><RegExpr String="[a-z][a-zA-Z0-9_]*'*" attribute="Normal"/><RegExpr String="\?[a-z][A-Za-z0-9_]+'*" attribute="MetaVar"/><RegExpr String="(:|=>|\->|<\-)" attribute="Special"/><RegExpr String="([\-!#\$%&\*\+\./<=>\?@\\^\|~:]+|\b_\b)|`[A-Za-z][A-Za-z0-9_]*'*`" attribute="Operator"/></context><context name="block comment" attribute="Comment"><StringDetect String="-}" attribute="Comment" context="#pop" endRegion="BlockComment"/><StringDetect String="{-" attribute="Comment" context="block comment" beginRegion="BlockComment"/><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="char" attribute="Char" lineEndContext="#pop"><RegExpr String="\\." attribute="Char"/><DetectChar char="'" attribute="Char" context="#pop"/></context><context name="declaration" attribute="Normal" lineEndContext="#pop"><keyword String="keywords" attribute="Keyword"/><RegExpr String="([A-Z][a-zA-Z0-9_]*'*|_\|_)" attribute="Type"/><RegExpr String="[a-z][A-Za-z0-9_]*'*" attribute="Declaration"/><RegExpr String="\([\-!#\$%&\*\+\./<=>\?@\\^\|~:]+\)" attribute="Operator"/><DetectChar char=":" attribute="Special" context="#pop"/></context><context name="directive" attribute="Normal" lineEndContext="#pop"><keyword String="keywords" attribute="Keyword"/><keyword String="directives" attribute="Keyword"/></context><context name="line comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="string" attribute="String"><RegExpr String="\\." attribute="String"/><DetectChar char='"' attribute="String" context="#pop"/></context></contexts><itemDatas><itemData name="Normal" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Tactic" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Char" defStyleNum="dsChar" spellChecking="0"/><itemData name="String" defStyleNum="dsString"/><itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Hex" defStyleNum="dsBaseN" spellChecking="0"/><itemData name="Float" defStyleNum="dsFloat" spellChecking="0"/><itemData name="Type" defStyleNum="dsDataType" spellChecking="0"/><itemData name="MetaVar" defStyleNum="dsOthers" spellChecking="0"/><itemData name="Operator" defStyleNum="dsFunction" spellChecking="0"/><itemData name="Special" defStyleNum="dsOthers" spellChecking="0"/><itemData name="Declaration" defStyleNum="dsFunction" spellChecking="0"/></itemDatas></highlighting><general><folding indentationsensitive="1"/><comments><comment name="singleLine" start="--"/><comment name="multiLine" start="{-" end="-}" region="BlockComment"/></comments><keywords casesensitive="1"/></general></language> |