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.9 KiB
XML
1 line
No EOL
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="fstab" version="6" kateversion="5.62" section="Configuration" extensions="fstab;mtab" author="Diego Iastrubni ([email protected])" license="Public Domain"><highlighting><list name="valid_fs"><item>ext2</item><item>ext3</item><item>fat</item><item>iso9660</item><item>minix</item><item>none</item><item>ntfs</item><item>proc</item><item>reiser</item><item>swap</item><item>sysfs</item><item>umsdos</item><item>vfat</item></list><contexts><context name="device" attribute="Device"><DetectChar char="#" context="comment" firstNonSpace="1"/><DetectSpaces context="mount_point"/></context><context name="comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="__error" attribute="Pass" lineEndContext="device"><DetectChar char="#" context="comment"/><DetectSpaces/><RegExpr String="[\S]*" context="error"/></context><context name="_type" attribute="Normal" lineEndContext="#pop#pop"><DetectChar char="#" context="comment" firstNonSpace="1"/><RegExpr String="[\S]*" context="type"/></context><context name="dump" attribute="Dump" lineEndContext="#pop#pop#pop#pop#pop"><DetectChar char="#" context="comment" firstNonSpace="1"/><DetectSpaces context="pass"/></context><context name="error" attribute="Error" lineEndContext="device"/><context name="mount_point" attribute="Mount Point" lineEndContext="#pop"><DetectChar char="#" context="comment" firstNonSpace="1"/><DetectSpaces context="_type"/></context><context name="options" attribute="Options" lineEndContext="#pop#pop#pop#pop"><DetectChar char="#" context="comment" firstNonSpace="1"/><DetectSpaces context="dump"/></context><context name="pass" attribute="Pass" lineEndContext="#pop#pop#pop#pop#pop#pop"><DetectChar char="#" context="comment" firstNonSpace="1"/><DetectSpaces context="__error"/></context><context name="type" attribute="Type" lineEndContext="#pop#pop#pop"><DetectChar char="#" context="comment" firstNonSpace="1"/><keyword String="valid_fs" attribute="Valid FileSystem"/><DetectSpaces context="options"/></context></contexts><itemDatas><itemData name="Device" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Mount Point" defStyleNum="dsDataType" spellChecking="0"/><itemData name="Type" defStyleNum="dsFunction" spellChecking="0"/><itemData name="Options" defStyleNum="dsAttribute" spellChecking="0"/><itemData name="Dump" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Pass" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Valid FileSystem" defStyleNum="dsDataType" italic="1" spellChecking="0"/><itemData name="Normal" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Error" defStyleNum="dsError" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#"/></comments></general></language> |