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]>
This commit is contained in:
astar76 2026-11-06 20:35:27 -06:00
commit 101cde2cc5

View file

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Klipper G-Code" version="1" kateversion="5.79" section="3D" extensions="*.gcode" priority="-1" mimetype="" author="Jonathan Poelen ([email protected])" license="MIT"><highlighting><contexts><context name="Start" attribute="Normal Text" fallthroughContext="GCodeExtendedLine##Klipper Config"><DetectSpaces/><IncludeRules context="GCodeCommand##Klipper Config"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="0"/></itemDatas></highlighting><general><folding indentationsensitive="1"/><comments><comment name="singleLine" start="#"/></comments><keywords casesensitive="0"/></general></language>