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.5 KiB
XML
1 line
No EOL
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="GNU Linker Script" section="Scripts" extensions="*.ld" version="6" kateversion="5.62" author="Lyle Putnam ([email protected])" license=""><highlighting><list name="keywords"><item>AT</item><item>ENTRY</item><item>GROUP</item><item>INPUT</item><item>OUTPUT</item><item>OUTPUT_ARCH</item><item>OUTPUT_FORMAT</item><item>SEARCH_DIR</item><item>STARTUP</item><item>TARGET</item></list><list name="functions"><item>ABSOLUTE</item><item>ADDR</item><item>ALIGN</item><item>DATA_SEGMENT_ALIGN</item><item>DATA_SEGMENT_END</item><item>DATA_SEGMENT_RELRO_END</item><item>DEFINED</item><item>LOADADDR</item><item>MAX</item><item>MIN</item><item>NEXT</item><item>SIZEOF</item><item>SIZEOF_HEADERS</item></list><list name="commands"><item>MEMORY</item><item>SECTIONS</item></list><contexts><context name="Normal" attribute="Normal Text"><keyword String="keywords" attribute="Keyword"/><keyword String="functions" attribute="Function"/><keyword String="commands" attribute="Command"/><HlCOct attribute="Number"/><HlCHex attribute="Number"/><Int attribute="Number" context="Int Suffixes"/><RegExpr String="\.[\-_0-9a-zA-Z]+|(?:COMMON|\/DISCARD\/)" attribute="Section Name"/><DetectChar char="{" attribute="Normal Text" beginRegion="Block"/><DetectChar char="}" attribute="Normal Text" endRegion="Block"/><StringDetect String="/*" attribute="Comment" context="comment" beginRegion="Comment"/><DetectChar char='"' attribute="String" context="string"/></context><context name="Int Suffixes" attribute="Number" fallthroughContext="#pop" lineEndContext="#pop"><AnyChar String="KMGkmg" attribute="Number" context="#pop"/></context><context name="comment" attribute="Comment"><StringDetect String="*/" attribute="Comment" context="#pop" endRegion="Comment"/><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="string" attribute="String"><DetectChar char='"' attribute="String" context="#pop"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Keyword" defStyleNum="dsKeyword"/><itemData name="Function" defStyleNum="dsFunction"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Section Name" defStyleNum="dsChar"/><itemData name="Command" defStyleNum="dsKeyword"/><itemData name="Number" defStyleNum="dsBaseN"/><itemData name="String" defStyleNum="dsString"/></itemDatas></highlighting><general><comments><comment name="multiLine" start="/*" end="*/" region="Comment"/></comments><keywords casesensitive="1"/></general></language> |