Damson/assets/syntax/gitolite.xml
astar76 11c1a7808b Build the syntax definitions into the app
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]>
2026-11-06 20:35:27 -06:00

1 line
No EOL
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language version="6" kateversion="5.62" name="Gitolite" section="Configuration" extensions="gitolite.conf" author="Andor Dávid ([email protected])" license="GPL"><highlighting><list name="keywords"><item>C</item><item>R</item><item>RW</item><item>RW+</item><item>RW+C</item><item>RW+CD</item><item>RW+D</item><item>RWC</item><item>RWCD</item><item>RWD</item><item>config</item><item>option</item><item>repo</item></list><contexts><context name="Normal Text" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="#" context="SingleLineComment"/><keyword String="keywords" attribute="Keyword"/><RegExpr String="(?:\s|\A)\@[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*" attribute="Group"/><DetectChar char="=" attribute="Symbol" context="Value"/><RegExpr String="\A\s*(include|subconf)" attribute="Include" context="IncludeLine"/></context><context name="SingleLineComment" attribute="Comment (Single)" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="IncludeLine" attribute="Normal Text" lineEndContext="#pop"><RangeDetect char1='"' char='"' attribute="String"/><DetectChar char="#" context="SingleLineComment"/></context><context name="Value" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="#" context="SingleLineComment"/><RegExpr String="(?:\s|\A)\@[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*" attribute="Group"/><RangeDetect char1='"' char='"' attribute="String"/><RangeDetect char1="'" char="'" attribute="String"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Comment (Single)" defStyleNum="dsComment"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Group" defStyleNum="dsVariable" spellChecking="0"/><itemData name="Symbol" defStyleNum="dsOthers"/><itemData name="Include" defStyleNum="dsPreprocessor"/><itemData name="String" defStyleNum="dsString"/></itemDatas></highlighting><general><keywords casesensitive="1" weakDeliminator="+"/><comments><comment name="singleLine" start="#" position="afterwhitespace"/></comments></general></language>