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.7 KiB
XML
1 line
No EOL
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Literate Curry" version="6" kateversion="5.62" section="Sources" extensions="*.lcurry" mimetype="text/x-curry" author="Björn Peemöller ([email protected])" license="LGPL" indenter="haskell"><highlighting><contexts><context name="Text" attribute="Text"><AnyChar String="><" attribute="BirdTrack" context="Code" column="0"/><StringDetect String="\begin{code}" attribute="Text" context="normals"/><StringDetect String="\begin{spec}" attribute="Text" context="normals"/></context><context name="normals" attribute="Text"><StringDetect String="\end{code}" attribute="Text" context="#pop"/><StringDetect String="\end{spec}" attribute="Text" context="#pop"/><IncludeRules context="##Curry"/></context><context name="Code" attribute="Text" lineEndContext="#pop"><RegExpr String="\{-[^#]" attribute="Comment" context="multiline" beginRegion="Comment"/><IncludeRules context="##Curry"/></context><context name="lineend" attribute="Text"><AnyChar String="><" attribute="BirdTrack" context="restart" column="0"/></context><context name="multiline" attribute="Comment" lineEndContext="lineend"><StringDetect String="-}" attribute="Comment" context="#pop" endRegion="Comment"/><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="restart" attribute="Comment" lineEndContext="#pop"><StringDetect String="-}" attribute="Comment" context="#pop#pop#pop"/></context></contexts><itemDatas><itemData name="Text" defStyleNum="dsNormal"/><itemData name="BirdTrack" defStyleNum="dsOthers" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/></itemDatas></highlighting><general><comments><comment name="multiLine" start="{-" end="-}" region="Comment"/></comments></general></language> |