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
6.7 KiB
XML
1 line
No EOL
6.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Roff" section="Markup" version="9" kateversion="5.62" extensions="" author="Matthew Woehlke ([email protected])" license="GPL"><highlighting><list name="layout"><item>br</item><item>sp</item></list><list name="formatting"/><list name="gnuext"/><contexts><context name="Normal" attribute="Normal Text"><IncludeRules context="DetectComments"/><DetectChar char="." attribute="Other Macros" context="DetectDirective" column="0"/><IncludeRules context="DetectOthers"/></context><context name="DetectOthers" attribute="Normal Text"><IncludeRules context="DetectComments"/><DetectChar char="\" attribute="Escape" context="DetectEscape" lookAhead="1"/><DetectChar char='"' attribute="String" context="String"/></context><context name="Directive" attribute="Identifier" lineEndContext="#pop"><Float attribute="Number"/><Int attribute="Number"/><IncludeRules context="DetectOthers"/></context><context name="Error" attribute="Error"/><context name="Comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="Argument" attribute="String" lineEndContext="Error"><StringDetect String="%1" attribute="Escape" context="#pop#pop" dynamic="1"/><IncludeRules context="DetectOthers"/></context><context name="DetectComments" attribute="Normal Text"><RegExpr String='^\.\s*\\"' attribute="Comment" context="Comment" column="0"/><StringDetect String='\"' attribute="Comment" context="Comment"/><StringDetect String="\#" attribute="Comment" context="Comment"/></context><context name="LiteralIL" attribute="Normal Text" lineEndContext="Error"><StringDetect String="\\" attribute="Escape"/><StringDetect String="\?" attribute="Escape" context="#pop"/></context><context name="LiteralSL" attribute="Normal Text" lineEndContext="#pop"/><context name="DetectDirective" attribute="Other Macros" lineEndContext="#pop"><keyword String="layout" attribute="Layout Macros" context="Directive"/><keyword String="formatting" attribute="Format Macros" context="Directive"/><keyword String="gnuext" attribute="GNU Macros" context="Directive"/><RegExpr String="\s*ds\b" attribute="Other Macros" context="dsDirective" column="1"/><RegExpr String="\s*de\b" attribute="Other Macros" context="deDirective" beginRegion="de" column="1"/><RegExpr String="\s*da(?=\s+[A-Za-z]+)" attribute="Other Macros" context="daDirective" beginRegion="di" column="1"/><RegExpr String="\s*di(?=\s+[A-Za-z]+)" attribute="Other Macros" context="diDirective" beginRegion="di" column="1"/><RegExpr String="\s*[A-Za-z]+\b" attribute="Other Macros" context="Directive" column="1"/></context><context name="DetectEscape" attribute="Error" lineEndContext="#pop"><RegExpr String="\\(\*|n[+-]?)(?:[^]\s]|\([^]\s]{2}|\[[^]\s]+\])" attribute="Register" context="#pop"/><RegExpr String="\\[fF](?:[^]\s]|\([^]\s]{2}|\[[^]\s]+\])|\\f([0-9]|\([0-9][0-9]|\[[0-9]+\])|\\s(\[([1-3][0-9]|[04-9])\]|[04-9]|[+-][0-9]|([+-]?\(|\([+-])[0-9][0-9])" attribute="Font" context="#pop"/><StringDetect String="\\" attribute="Escape" context="#pop"/><RegExpr String="\\[ABDXZbow]([^\\]|\\[% |\^{}'`\-!?@)/,&:~0E_acdeprtu])" attribute="Escape" context="Argument"/><RegExpr String="\\(\$[0-9*@]|[.:% |^{}_!?@)/,&:~0acdeEprtu])|\\[gkmMVYz](?:[^]\s]|\([^]\s]{2}|\[[^]\s]+\])|\\O([0-4]|\[5[lrci][^]]\])" attribute="Escape" context="#pop"/><RegExpr String="(?|\\[hHSvx]([^\\]|\\[% |\^{}'`\-!?@)/,&:~0E_acdeprtu])|\\[lL]([^\\]|\\[% |\^{}'`\-!?@)/,&:~0E_acdeprtu])\|?)" attribute="Escape" context="Measurement"/><RegExpr String="\\R([^\\]|\\[% |\^{}'`\-!?@)/,&:~0E_acdeprtu])" attribute="Escape" context="Argument"/><RegExpr String="\\C([^\\]|\\[% |\^{}'`\-!?@)/,&:~0E_acdeprtu])" attribute="Glyph" context="GlyphArgument"/><RegExpr String="\\N([^\\0-9]|\\[%:{}'`\-_!@/cep])[0-9]+\1|\\(?:[^]\s]|\([^]\s]{2}|\[[^]\s]+\])" attribute="Glyph" context="#pop"/><LineContinue attribute="Escape" context="#pop"/><DetectChar char="\" attribute="Error" context="#pop"/></context><context name="GlyphArgument" attribute="Glyph" lineEndContext="Error"><StringDetect String="%1" attribute="Glyph" context="#pop#pop" dynamic="1"/></context><context name="Measurement" attribute="Error" lineEndContext="Error"><StringDetect String="%1" attribute="Escape" context="#pop#pop" dynamic="1"/></context><context name="String" attribute="String" lineEndContext="#pop"><StringDetect String='\"' attribute="Escape"/><DetectChar char='"' attribute="String" context="#pop"/><IncludeRules context="DetectOthers"/></context><context name="daBody" attribute="Normal Text"><RegExpr String="^\.\s*da\b" attribute="Other Macros" context="#pop#pop" endRegion="di" column="0"/><StringDetect String="\!" attribute="Escape" context="LiteralSL"/><StringDetect String="\?" attribute="Escape" context="LiteralIL"/><IncludeRules context="Normal"/></context><context name="daDirective" attribute="Identifier" lineEndContext="daBody"/><context name="deBody" attribute="Normal Text"><StringDetect String=".." attribute="Other Macros" context="#pop#pop" endRegion="de" column="0"/><IncludeRules context="Normal"/></context><context name="deDirective" attribute="Identifier" lineEndContext="deBody"/><context name="diBody" attribute="Normal Text"><RegExpr String="^\.\s*di\b" attribute="Other Macros" context="#pop#pop" endRegion="di" column="0"/><StringDetect String="\!" attribute="Escape" context="LiteralSL"/><StringDetect String="\?" attribute="Escape" context="LiteralIL"/><IncludeRules context="Normal"/></context><context name="diDirective" attribute="Identifier" lineEndContext="diBody"/><context name="dsDirective" attribute="Identifier" lineEndContext="#pop"><Float attribute="Number"/><Int attribute="Number"/><DetectChar char='"' attribute="String" context="dsString"/><IncludeRules context="DetectOthers"/></context><context name="dsString" attribute="String" lineEndContext="#pop"><IncludeRules context="DetectOthers"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Layout Macros" defStyleNum="dsKeyword"/><itemData name="Format Macros" defStyleNum="dsKeyword"/><itemData name="GNU Macros" defStyleNum="dsDataType"/><itemData name="Other Macros" defStyleNum="dsFunction"/><itemData name="Identifier" defStyleNum="dsString"/><itemData name="Number" defStyleNum="dsDecVal"/><itemData name="Register" defStyleNum="dsOthers"/><itemData name="Font" defStyleNum="dsOthers"/><itemData name="Glyph" defStyleNum="dsOthers"/><itemData name="Escape" defStyleNum="dsChar"/><itemData name="String" defStyleNum="dsString"/><itemData name="Error" defStyleNum="dsError"/></itemDatas></highlighting><general><comments><comment name="singleLine" start='.\"'/></comments><keywords casesensitive="1"/></general></language> |