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
4.4 KiB
XML
1 line
No EOL
4.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="GNU M4" version="5" section="Sources" kateversion="5.62" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License"><highlighting><list name="optbuiltins"><item>__gnu__</item><item>__os2__</item><item>__unix__</item><item>__windows__</item><item>os2</item><item>unix</item><item>windows</item></list><list name="m4_optbuiltins"><item>m4___gnu__</item><item>m4___os2__</item><item>m4___unix__</item><item>m4___windows__</item><item>m4_os2</item><item>m4_unix</item><item>m4_windows</item></list><list name="builtins"><item>__file__</item><item>__line__</item><item>__program__</item><item>builtin</item><item>changecom</item><item>changequote</item><item>changeword</item><item>debugfile</item><item>debugmode</item><item>decr</item><item>define</item><item>defn</item><item>divert</item><item>divnum</item><item>dnl</item><item>dumpdef</item><item>errprint</item><item>esyscmd</item><item>eval</item><item>format</item><item>ifdef</item><item>ifelse</item><item>include</item><item>incr</item><item>index</item><item>indir</item><item>len</item><item>m4exit</item><item>m4wrap</item><item>maketemp</item><item>mkstemp</item><item>patsubst</item><item>popdef</item><item>pushdef</item><item>regexp</item><item>shift</item><item>sinclude</item><item>substr</item><item>syscmd</item><item>sysval</item><item>traceoff</item><item>traceon</item><item>translit</item><item>undefine</item><item>undivert</item></list><list name="m4_builtins"><item>m4___file__</item><item>m4___line__</item><item>m4___program__</item><item>m4_builtin</item><item>m4_changecom</item><item>m4_changequote</item><item>m4_changeword</item><item>m4_debugfile</item><item>m4_debugmode</item><item>m4_decr</item><item>m4_define</item><item>m4_defn</item><item>m4_divert</item><item>m4_divnum</item><item>m4_dnl</item><item>m4_dumpdef</item><item>m4_errprint</item><item>m4_esyscmd</item><item>m4_eval</item><item>m4_format</item><item>m4_ifdef</item><item>m4_ifelse</item><item>m4_include</item><item>m4_incr</item><item>m4_index</item><item>m4_indir</item><item>m4_len</item><item>m4_m4exit</item><item>m4_m4wrap</item><item>m4_maketemp</item><item>m4_mkstemp</item><item>m4_patsubst</item><item>m4_popdef</item><item>m4_pushdef</item><item>m4_regexp</item><item>m4_shift</item><item>m4_sinclude</item><item>m4_substr</item><item>m4_syscmd</item><item>m4_sysval</item><item>m4_traceoff</item><item>m4_traceon</item><item>m4_translit</item><item>m4_undefine</item><item>m4_undivert</item></list><contexts><context name="Normal Text" attribute="Normal Text"><keyword String="builtins" attribute="Builtins"/><keyword String="m4_builtins" attribute="Builtins (prefixed with m4_)"/><keyword String="optbuiltins" attribute="Optional builtins"/><keyword String="m4_optbuiltins" attribute="Optional builtins (prefixed with m4_)"/><RegExpr String="[a-zA-Z_]\w+" attribute="Normal Text"/><RegExpr String="\$([1-9]\d*|0|\#|\*|\@|\{([1-9]\d*|0)\})" attribute="Special arguments to macros"/><RegExpr String="([1-9]\d*|0|0x[0-9abcdefABCDEF]+)" attribute="Int"/><DetectChar char="#" attribute="Comment" context="Comment"/><DetectChar char="," attribute="Commas"/><DetectChar char="(" attribute="Operators" context="inparenthesis" beginRegion="parenthesis"/><DetectChar char=")" attribute="Operators" context="#pop" endRegion="parenthesis"/><AnyChar String="+*/%|=!<>^&~-" attribute="Operators"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="inparenthesis" attribute="Normal Text" noIndentationBasedFolding="1"><IncludeRules context="Normal Text"/></context></contexts><itemDatas><itemData name="Builtins" defStyleNum="dsKeyword"/><itemData name="Builtins (prefixed with m4_)" defStyleNum="dsKeyword"/><itemData name="Optional builtins" defStyleNum="dsKeyword"/><itemData name="Optional builtins (prefixed with m4_)" defStyleNum="dsKeyword"/><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Special arguments to macros" defStyleNum="dsChar"/><itemData name="Int" defStyleNum="dsDecVal"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Commas" defStyleNum="dsChar"/><itemData name="Operators" defStyleNum="dsChar"/></itemDatas></highlighting><general><folding indentationsensitive="1"/><comments><comment name="singleLine" start="#" position="afterwhitespace"/></comments></general></language> |