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
2.4 KiB
XML
1 line
No EOL
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Velocity" version="5" kateversion="5.62" section="Scripts" extensions="*.vm;" mimetype="text/x-velocity-src;text/x-vm-src" author="John Christopher ([email protected])" license=""><highlighting><list name="keywords"><item>#else</item><item>#elseif</item><item>#end</item><item>#foreach</item><item>#if</item><item>#include</item><item>#macro</item><item>#parse</item><item>#set</item><item>#stop</item></list><contexts><context name="Keyword" attribute="Normal Text"><keyword String="keywords" attribute="Keyword"/><RegExpr String="\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*|\$\{[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*\}|\$!\{[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*\}.|\{\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[([0-9]*|"[a-zA-Z_]*")|'[a-zA-Z_]*'|\])*(->[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*(\[([0-9]*|"[a-zA-Z_]*")|'[a-zA-Z_]*'|\])*)*\}" attribute="Variable"/><RegExpr String="[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\-]*(\[[a-zA-Z0-9_]*\])*\.[a-zA-Z0-9_\x7f-\xff\-]*" attribute="Properties"/><AnyChar String="(),[]" attribute="Other"/><StringDetect String="##" attribute="Comment" context="singleline comment"/><StringDetect String="#*" attribute="Comment" context="multilinecomment" beginRegion="BlockComment"/></context><context name="multilinecomment" attribute="Comment"><DetectSpaces/><StringDetect String="*#" attribute="Comment" context="#pop" endRegion="BlockComment"/><IncludeRules context="##Comments"/></context><context name="singleline comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Keyword" defStyleNum="dsKeyword"/><itemData name="Variable" defStyleNum="dsKeyword" color="#5555FF" selColor="#ffffff" bold="0" italic="0"/><itemData name="Other" defStyleNum="dsOthers"/><itemData name="Properties" defStyleNum="dsNormal" color="#8AC6FF" selColor="#ffffff" bold="0" italic="1"/><itemData name="Comment" defStyleNum="dsComment"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="##"/><comment name="multiLine" start="#*" end="*#" region="BlockComment"/></comments><keywords casesensitive="1" weakDeliminator="+"/></general></language> |