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.3 KiB
XML
1 line
No EOL
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="x.org Configuration" section="Configuration" extensions="xorg.conf" mimetype="" version="4" kateversion="5.62" author="Jan Janssen ([email protected])" license="LGPL"><highlighting><contexts><context name="xorg" attribute="Normal Text"><StringDetect String="Section" attribute="Section" context="Section" beginRegion="Section" insensitive="1"/><DetectChar char="#" context="Comment"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="Section" attribute="Normal Text"><RangeDetect char1='"' char='"' attribute="Section Name" context="Section Content"/><RangeDetect char1="'" char="'" attribute="Section Name" context="Section Content"/><DetectIdentifier attribute="Alert"/><DetectChar char="#" context="Comment"/></context><context name="Section Content" attribute="Normal Text"><StringDetect String="EndSection" attribute="Section" context="#pop#pop" endRegion="Section" insensitive="1"/><StringDetect String="EndSubSection" attribute="Section" context="#pop#pop" endRegion="SubSection" insensitive="1"/><StringDetect String="SubSection" attribute="Section" context="Section" beginRegion="SubSection" insensitive="1"/><RegExpr String="\b\w+\b" context="Keyword"/><DetectChar char="#" context="Comment"/></context><context name="Keyword" attribute="Keyword" lineEndContext="#pop"><RangeDetect char1='"' char='"' attribute="Value"/><RangeDetect char1="'" char="'" attribute="Value"/><Float attribute="Float"/><Int attribute="Int"/><RegExpr String="[\w\d]+" attribute="Value2"/><DetectChar char="#" context="Comment"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Section" defStyleNum="dsFunction"/><itemData name="Section Name" defStyleNum="dsString"/><itemData name="Value" defStyleNum="dsDataType"/><itemData name="Keyword" defStyleNum="dsKeyword"/><itemData name="Alert" defStyleNum="dsError"/><itemData name="Int" defStyleNum="dsDecVal"/><itemData name="Value2" defStyleNum="dsOthers"/><itemData name="Float" defStyleNum="dsFloat"/><itemData name="Comment" defStyleNum="dsComment"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#"/></comments></general></language> |