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
5.1 KiB
XML
1 line
No EOL
5.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Cucumber Gherkin feature" kateversion="5.62" version="3" section="Markup" extensions="*.feature" mimetype="text/x-gherkin" indenter="normal" author="Samu Voutilainen ([email protected])" license="MIT"><highlighting><list name="keywords"><item>Background</item><item>Example</item><item>Rule</item><item>Scenario</item></list><list name="steps"><item>And</item><item>But</item><item>Given</item><item>Then</item><item>When</item></list><contexts><context name="Normal" attribute="DocString" noIndentationBasedFolding="1"><DetectSpaces/><WordDetect String="Feature:" attribute="Feature" context="FeatureLine" firstNonSpace="1"/><WordDetect String="Scenario Outline:" attribute="Keyword" context="ScenarioOutline" firstNonSpace="1"/><WordDetect String="Scenario Template:" attribute="Keyword" context="ScenarioOutline" firstNonSpace="1"/><keyword String="keywords" attribute="Keyword" context="Keywords" firstNonSpace="1"/><StringDetect String='"""' attribute="DocString" context="Multi-line Comment" beginRegion="RegionComment"/><DetectChar char="#" attribute="Comment" context="General Comment"/></context><context name="General Comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="Step" attribute="StepString" noIndentationBasedFolding="1"><DetectChar char='"' attribute="QuotedString" context="QuotedString"/><RangeDetect char1="|" char="|" attribute="TableSeparator" context="StepTable" lookAhead="1"/><keyword String="steps" context="#pop" firstNonSpace="1" lookAhead="1"/><keyword String="keywords" context="#pop#pop" firstNonSpace="1" lookAhead="1"/><WordDetect String="Feature:" attribute="SyntaxError" context="#pop" firstNonSpace="1" lookAhead="1"/><DetectChar char="<" attribute="StepOutlineVariable" context="Step Outline Variable"/><DetectChar char="@" attribute="GherkinTag" context="GherkinTag"/><DetectChar char="#" attribute="Comment" context="General Comment"/></context><context name="Multi-line Comment" attribute="Comment"><StringDetect String='"""' attribute="DocString" context="#pop" endRegion="RegionComment"/></context><context name="GherkinTag" attribute="GherkinTag" lineEndContext="#pop"/><context name="ScenarioOutline" attribute="HeaderText"><keyword String="steps" attribute="Step" context="Step" firstNonSpace="1"/><DetectChar char="*" attribute="Step" context="Step" firstNonSpace="1"/><keyword String="keywords" context="#pop" firstNonSpace="1" lookAhead="1"/><WordDetect String="Feature:" attribute="SyntaxError" context="#pop" firstNonSpace="1"/><StringDetect String='"""' attribute="DocString" context="Multi-line Comment" beginRegion="RegionComment"/><DetectChar char="#" attribute="Comment" context="General Comment"/></context><context name="StepTable" attribute="TableString" lineEndContext="#pop"><DetectChar char="|" attribute="TableSeparator"/></context><context name="FeatureLine" attribute="HeaderText" lineEndContext="#pop"/><context name="Keywords" attribute="HeaderText"><keyword String="steps" attribute="Step" context="Step" firstNonSpace="1"/><DetectChar char="*" attribute="Step" context="Step" firstNonSpace="1"/><keyword String="keywords" context="#pop" firstNonSpace="1" lookAhead="1"/><WordDetect String="Feature:" attribute="SyntaxError" context="#pop" firstNonSpace="1"/><WordDetect String="Examples:" attribute="Keyword" firstNonSpace="1"/><WordDetect String="Scenarios:" attribute="Keyword" firstNonSpace="1"/><RangeDetect char1="|" char="|" attribute="TableSeparator" context="StepTable" lookAhead="1"/><DetectChar char="@" attribute="GherkinTag" context="GherkinTag"/><StringDetect String='"""' attribute="DocString" context="Multi-line Comment" beginRegion="RegionComment"/><DetectChar char="#" attribute="Comment" context="General Comment"/></context><context name="QuotedString" attribute="QuotedString"><DetectChar char='"' attribute="QuotedString" context="#pop"/></context><context name="Step Outline Variable" attribute="StepOutlineVariable"><DetectChar char=">" attribute="StepOutlineVariable" context="#pop"/></context></contexts><itemDatas><itemData name="HeaderText" defStyleNum="dsAttribute"/><itemData name="Feature" defStyleNum="dsBuiltIn" spellChecking="0"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Step" defStyleNum="dsBuiltIn" spellChecking="0"/><itemData name="StepString" defStyleNum="dsNormal" spellChecking="0"/><itemData name="StepOutlineVariable" defStyleNum="dsVariable" spellChecking="0"/><itemData name="TableSeparator" defStyleNum="dsBuiltIn" spellChecking="0"/><itemData name="TableString" defStyleNum="dsVerbatimString" spellChecking="0"/><itemData name="QuotedString" defStyleNum="dsString" spellChecking="0"/><itemData name="GherkinTag" defStyleNum="dsAnnotation" spellChecking="0"/><itemData name="SyntaxError" defStyleNum="dsError"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="DocString" defStyleNum="dsDocumentation"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#" position="afterwhitespace"/></comments><keywords casesensitive="1"/><folding/></general></language> |