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
8.8 KiB
XML
1 line
No EOL
8.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language author="Jade Pfeiffer ([email protected])" extensions="*.html.heex;*.heex" indenter="xml" kateversion="5.79" license="MIT" mimetype="text/x-elixir+heex" name="Elixir/HEEx" section="Scripts" style="heex" version="1"><highlighting><list name="comprehensions"><item>for</item><item>if</item><item>let</item></list><list name="phx-variables"><item>assigns</item></list><list name="phx-bindings"><item>phx-auto-recover</item><item>phx-blur</item><item>phx-change</item><item>phx-click</item><item>phx-click-away</item><item>phx-connected</item><item>phx-debounce</item><item>phx-disable-with</item><item>phx-disconnected</item><item>phx-focus</item><item>phx-hook</item><item>phx-key</item><item>phx-keydown</item><item>phx-keyup</item><item>phx-mounted</item><item>phx-remove</item><item>phx-submit</item><item>phx-throttle</item><item>phx-track-static</item><item>phx-trigger-action</item><item>phx-update</item><item>phx-viewport-bottom</item><item>phx-viewport-top</item><item>phx-window-blur</item><item>phx-window-focus</item><item>phx-window-keydown</item><item>phx-window-keyup</item></list><contexts><context name="Text" attribute="Normal Text"><DetectChar char="<" context="Tags" lookAhead="1"/><IncludeRules context="Interpolated"/><DetectSpaces/></context><context name="Tag End" attribute="Normal Text"><StringDetect String="/>" attribute="Symbol" context="#pop"/><DetectChar char=">" attribute="Symbol" context="#pop"/></context><context name="Attribute Equals" attribute="Normal Text" fallthroughContext="#pop"><DetectChar char="=" attribute="Operator" context="#pop!Attribute Value"/></context><context name="Tag Body" attribute="Normal Text"><IncludeRules context="Tag End"/><IncludeRules context="Attributes"/><IncludeRules context="Interpolated"/><DetectSpaces/></context><context name="Interpolated" attribute="Normal Text"><DetectChar char="{" attribute="String" context="Interpolate" beginRegion="interpolate"/></context><context name="Attributes" attribute="Attribute"><DetectChar char=":" attribute="Control Flow" context="Attribute BuiltIn"/><StringDetect String="phx-" context="Phoenix Binding" lookAhead="1"/><RegExpr String="[A-Za-z_:*#\(\[][\)\]\w.:_-]*" attribute="Attribute" context="Attribute Equals"/></context><context name="Interpolate" attribute="Normal Text"><RegExpr String="@[a-z][a-zA-Z0-9_]*[!?]?" attribute="Assigns"/><keyword String="phx-variables" attribute="Assigns"/><DetectChar char="{" attribute="Braces" context="Interpolate Scope" beginRegion="map_or_struct_or_tuple"/><DetectChar char="}" attribute="String" context="#pop" endRegion="interpolate"/><IncludeRules context="Normal##Elixir"/></context><context name="Tag Module" attribute="Normal Text"><DetectChar char="."/><RegExpr String="[A-Z][a-zA-Z0-9_]*" attribute="Module"/></context><context name="Tag Name Component" attribute="Normal Text" fallthroughContext="#pop!Tag Body"><RegExpr String="[a-z][a-zA-Z0-9_]*[!?]?" attribute="Function" context="#pop!Tag Body"/></context><context name="Tag Name End Component" attribute="Normal Text" fallthroughContext="#pop!Tag End"><RegExpr String="[a-z][a-zA-Z0-9_]*[!?]?" attribute="Function" context="#pop!Tag End"/></context><context name="Attribute BuiltIn" attribute="Control Flow" fallthroughContext="#pop!Attribute Equals"><keyword String="comprehensions" attribute="Control Flow" context="#pop!Attribute Equals"/></context><context name="Attribute Value" attribute="String"><DetectChar char='"' context="#pop!Attribute Value Quote"/><DetectChar char="{" attribute="String" context="#pop!Interpolate" beginRegion="interpolate"/><DetectSpaces/></context><context name="Attribute Value Quote" attribute="String"><DetectChar char='"' attribute="String" context="#pop"/><IncludeRules context="FindEntityRefs##HTML"/></context><context name="End Tags" attribute="Symbol" fallthroughContext="#pop!Tag Name End"><DetectChar char="." attribute="Symbol" context="#pop!Tag Name End Component"/><DetectChar char=":" attribute="Symbol" context="#pop!Tag Name End Slot"/></context><context name="HTML Special" attribute="Normal Text"><IncludeRules context="FindHTML##HTML"/></context><context name="Interpolate Scope" attribute="Normal Text"><DetectChar char="}" attribute="String" context="#pop" endRegion="map_or_struct_or_tuple"/><IncludeRules context="Interpolate"/></context><context name="Phoenix Binding" attribute="Symbol"><keyword String="phx-bindings" attribute="Symbol" context="#pop!Attribute Equals"/><RegExpr String="phx-value-[A-Za-z_:*#\(\[][\)\]\w.:_-]*" attribute="Symbol" context="#pop!Attribute Equals"/><RegExpr String="phx-([A-Za-z_:*#\(\[][\)\]\w.:_-]*)?" attribute="Normal Text" context="#pop!Attribute Equals"/></context><context name="Script" attribute="Normal Text"><StringDetect String="</script>" context="#pop!Script Tag End" lookAhead="1"/><IncludeRules context="Text##Elixir/EEx"/><DetectChar char='"' attribute="String" context="Script String"/><IncludeRules context="Normal##JavaScript"/></context><context name="Script String" attribute="Normal Text"><DetectChar char='"' attribute="String" context="#pop"/><IncludeRules context="Text##Elixir/EEx"/><IncludeRules context="String##JavaScript"/></context><context name="Script Tag" attribute="Normal Text"><StringDetect String="/>" attribute="Symbol" context="#pop"/><DetectChar char=">" attribute="Symbol" context="#pop!Script"/><IncludeRules context="Attributes"/><IncludeRules context="Interpolated"/><DetectSpaces/></context><context name="Script Tag End" attribute="Normal Text"><StringDetect String="</" attribute="Symbol"/><StringDetect String="script" attribute="Element"/><DetectChar char=">" attribute="Symbol" context="#pop"/></context><context name="Style" attribute="Normal Text"><StringDetect String="</style>" context="#pop!Style Tag End" lookAhead="1"/><IncludeRules context="Text##Elixir/EEx"/><IncludeRules context="Base##CSS"/></context><context name="Style Tag" attribute="Normal Text"><StringDetect String="/>" attribute="Symbol" context="#pop"/><DetectChar char=">" attribute="Symbol" context="#pop!Style"/><IncludeRules context="Attributes"/><IncludeRules context="Interpolated"/><DetectSpaces/></context><context name="Style Tag End" attribute="Normal Text"><StringDetect String="</" attribute="Symbol"/><StringDetect String="style" attribute="Element"/><DetectChar char=">" attribute="Symbol" context="#pop"/></context><context name="Tag Name" attribute="Element"><RegExpr String="[A-Z][a-zA-Z0-9_]*" attribute="Module" context="#pop!Tag Name Module"/><WordDetect String="script" attribute="Element" context="#pop!Script Tag"/><WordDetect String="style" attribute="Element" context="#pop!Style Tag"/><RegExpr String="[A-Za-z_:][\w.:_-]*" attribute="Element" context="#pop!Tag Body"/></context><context name="Tag Name End" attribute="Element"><RegExpr String="[A-Z][a-zA-Z0-9_]*" attribute="Module" context="#pop!Tag Name End Module"/><RegExpr String="[A-Za-z_:][\w.:_-]*" attribute="Element" context="#pop!Tag End"/></context><context name="Tag Name End Module" attribute="Normal Text" fallthroughContext="#pop!Tag End"><IncludeRules context="Tag Module"/><IncludeRules context="Tag Name End Component"/></context><context name="Tag Name End Slot" attribute="Normal Text" fallthroughContext="#pop!Tag End"><RegExpr String="[a-z][a-zA-Z0-9_]*[!?]?" attribute="Symbol" context="#pop!Tag End"/></context><context name="Tag Name Module" attribute="Normal Text" fallthroughContext="#pop!Tag Body"><IncludeRules context="Tag Module"/><IncludeRules context="Tag Name Component"/></context><context name="Tag Name Slot" attribute="Normal Text" fallthroughContext="#pop!Tag Body"><RegExpr String="[a-z][a-zA-Z0-9_]*[!?]?" attribute="Symbol" context="#pop!Tag Body"/></context><context name="Tags" attribute="Normal Text"><StringDetect String="<!" context="#pop!HTML Special" lookAhead="1"/><StringDetect String="</" attribute="Symbol" context="#pop!End Tags"/><IncludeRules context="Tag##Elixir/EEx"/><StringDetect String="<." attribute="Symbol" context="#pop!Tag Name Component"/><StringDetect String="<:" attribute="Symbol" context="#pop!Tag Name Slot"/><DetectChar char="<" attribute="Symbol" context="#pop!Tag Name"/></context></contexts><itemDatas><itemData defStyleNum="dsNormal" name="Normal Text" spellChecking="0"/><itemData defStyleNum="dsNormal" name="Braces"/><itemData defStyleNum="dsBuiltIn" name="Symbol"/><itemData defStyleNum="dsKeyword" name="Element"/><itemData defStyleNum="dsOperator" name="Operator"/><itemData defStyleNum="dsExtension" name="Control Flow"/><itemData defStyleNum="dsString" name="String"/><itemData defStyleNum="dsNormal" name="Module"/><itemData defStyleNum="dsFunction" name="Function"/><itemData defStyleNum="dsOthers" name="Assigns"/><itemData defStyleNum="dsNormal" name="Attribute"/></itemDatas></highlighting><general><comments><comment name="multiLine" start="<%!--" end="--%>" region="comment"/></comments><keywords weakDeliminator=":-"/></general></language> |