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
1.8 KiB
XML
1 line
No EOL
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="vCard, vCalendar, iCalendar" version="2" kateversion="5.62" section="Markup" extensions="*.iCal;*.iCalendar;.ics;*.ifb;*.iFBf;*.vcal;*.vcalendar;*.vcard;*.vcf;" author="Lukas Sommer" mimetype="text/calendar;text/vcard" license="Public Domain"><highlighting><contexts><context name="contextProperty" attribute="Property"><StringDetect String="BEGIN:" attribute="vCard" context="contextAttribute" beginRegion="region" column="0"/><StringDetect String="END:" attribute="vCard" context="contextAttribute" endRegion="region" column="0"/><DetectChar char=" " context="contextAttribute" column="0"/><DetectChar char=":" attribute="Delimiter" context="contextAttribute"/><DetectChar char=";" attribute="Delimiter" context="contextParameterKey"/></context><context name="contextAttribute" attribute="Attribute" lineEndContext="#pop"><DetectChar char=";" attribute="Delimiter"/></context><context name="contextParameterKey" attribute="Parameter key" lineEndContext="#pop"><DetectChar char="=" attribute="Assignment" context="contextParameterValue"/><DetectChar char=":" attribute="Delimiter" context="contextAttribute"/></context><context name="contextParameterValue" attribute="Parameter value" lineEndContext="#pop"><DetectChar char=";" attribute="Delimiter" context="contextParameterKey"/><DetectChar char=":" attribute="Delimiter" context="contextAttribute"/></context></contexts><itemDatas><itemData name="Assignment" defStyleNum="dsKeyword"/><itemData name="Attribute" defStyleNum="dsString"/><itemData name="Delimiter" defStyleNum="dsKeyword"/><itemData name="Parameter key" defStyleNum="dsFunction"/><itemData name="Parameter value" defStyleNum="dsOthers"/><itemData name="Property" defStyleNum="dsKeyword"/><itemData name="vCard" defStyleNum="dsRegionMarker"/></itemDatas></highlighting><general/></language> |