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.7 KiB
XML
1 line
No EOL
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="GraphQL" alternativeNames="GQL" section="Other" version="4" kateversion="5.62" extensions="*.graphql" author="Volker Krause ([email protected])" license="MIT"><highlighting><list name="listKeywords"><item>enum</item><item>extend</item><item>fragment</item><item>implements</item><item>input</item><item>interface</item><item>mutation</item><item>on</item><item>query</item><item>scalar</item><item>schema</item><item>subscription</item><item>type</item><item>union</item></list><list name="listConstants"><item>false</item><item>null</item><item>true</item></list><list name="listTypes"><item>Boolean</item><item>Float</item><item>ID</item><item>Int</item><item>String</item></list><contexts><context name="ctxNormal" attribute="Normal"><DetectChar char="{" beginRegion="RegionBrace"/><DetectChar char="}" endRegion="RegionBrace"/><Float attribute="Float"/><Int attribute="Decimal"/><keyword String="listKeywords" attribute="Keyword"/><keyword String="listConstants" attribute="Constant"/><keyword String="listTypes" attribute="Type"/><StringDetect String='"""' attribute="String" context="ctxBlockString"/><DetectChar char='"' attribute="String" context="ctxString"/><DetectChar char="#" attribute="Comment" context="ctxComment"/><RegExpr String="\$[_A-Za-z][_0-9A-Za-z]*" attribute="Variable"/><RegExpr String="@[_A-Za-z][_0-9A-Za-z]*" attribute="Directive"/></context><context name="ctxBlockString" attribute="String"><HlCStringChar attribute="Special Character"/><StringDetect String='"""' attribute="String" context="#pop"/></context><context name="ctxComment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="ctxString" attribute="String" lineEndContext="#pop"><HlCStringChar attribute="Special Character"/><DetectChar char='"' attribute="String" context="#pop"/></context></contexts><itemDatas><itemData name="Normal" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Variable" defStyleNum="dsVariable" spellChecking="0"/><itemData name="Decimal" defStyleNum="dsDecVal"/><itemData name="Float" defStyleNum="dsFloat"/><itemData name="String" defStyleNum="dsString"/><itemData name="Special Character" defStyleNum="dsChar" spellChecking="0"/><itemData name="Constant" defStyleNum="dsConstant" spellChecking="0"/><itemData name="Type" defStyleNum="dsDataType" spellChecking="0"/><itemData name="Directive" defStyleNum="dsAttribute" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#"/></comments></general></language> |