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
18 KiB
XML
1 line
No EOL
18 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="SASS" version="8" kateversion="5.79" section="Markup" extensions="*.sass" indenter="cstyle" mimetype="text/css" author="Jonathan Poelen ([email protected])" license="MIT" priority="5"><highlighting><list name="properties"><include>properties##SCSS</include></list><list name="vendor properties"><include>vendor properties##SCSS</include></list><list name="sub-properties"><include>sub-properties##SCSS</include></list><list name="special values"><include>special values##SCSS</include></list><list name="value keywords"><include>value keywords##SCSS</include></list><list name="values"><include>values##SCSS</include></list><list name="colors"><include>colors##SCSS</include></list><list name="functions"><include>functions##SCSS</include></list><list name="media types"><include>media types##SCSS</include></list><list name="media features"><include>media features##SCSS</include></list><list name="pseudo-elements"><include>pseudo-elements##SCSS</include></list><list name="pseudo-classes"><include>pseudo-classes##SCSS</include></list><list name="@page pseudo-classes"><include>@page pseudo-classes##SCSS</include></list><list name="at-rules"><include>at-rules##SCSS</include></list><list name="media operators"><include>media operators##SCSS</include></list><list name="operators"><include>operators##SCSS</include></list><list name="annotations"><include>annotations##SCSS</include></list><contexts><context name="Base" attribute="Normal Text"><IncludeRules context="FindCommentsColumn0"/><IncludeRules context="FindComments"/><RegExpr String="^\s*[-_A-Za-z]+(/\*.*\*/)?\s*(?=:(\s|$))" attribute="Property" context="Rule" column="0" minimal="1" lookAhead="1"/><DetectSpaces/><DetectChar char="=" attribute="At Rule" context="@mixin" firstNonSpace="1"/><DetectChar char="+" attribute="At Rule" context="AtRule" firstNonSpace="1"/><DetectChar char="@" attribute="At Rule" context="SelectAtRule" lookAhead="1"/><DetectChar char="[" attribute="Selector Attribute" context="SelectorAttr"/><DetectChar char="," attribute="Separator Symbol"/><AnyChar String="&*>+~|" attribute="Operator"/><RegExpr String=":(?=[a-z:])" attribute="Selector Pseudo" context="SelectorPseudo"/><RegExpr String="#[-]?([_a-zA-Z]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))([_a-zA-Z0-9-]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))*" attribute="Selector Id"/><RegExpr String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" attribute="Selector Class"/><RegExpr String="%[_a-zA-Z][_a-zA-Z\-]*" attribute="Placeholder Selector"/><RegExpr String="[-]?([_a-zA-Z]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))([_a-zA-Z0-9-]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))*(?=\s|:?[#.&[*>+~|,]|:[a-z:])" attribute="Selector Tag"/><RegExpr String="\$[a-zA-Z0-9\-_]+(?=\s*:)" attribute="Variable" context="VariableDefine"/><StringDetect String="#{" attribute="Interpolation" context="Interpolation"/><DetectChar char=":" attribute="Normal Text" context="Rule" lookAhead="1"/></context><context name="FindComments" attribute="Comment"><StringDetect String="//" attribute="Comment" context="IsInlineComment"/><StringDetect String="/*" attribute="Comment" context="IsInlineComment2"/></context><context name="FindStrings" attribute="Normal Text"><DetectChar char='"' attribute="String" context="StringDQ"/><DetectChar char="'" attribute="String" context="StringSQ"/></context><context name="FindFunctions" attribute="Normal Text"><RegExpr String="[a-z\-]{2,}\(" attribute="Function" context="Function" lookAhead="1"/></context><context name="FindValues" attribute="Normal Text"><DetectChar char="!" attribute="Annotation" context="Annotation"/><keyword String="operators" attribute="Operator"/><keyword String="value keywords" attribute="Value Keyword"/><keyword String="special values" attribute="Value Keyword"/><keyword String="values" attribute="Value"/><keyword String="colors" attribute="Color"/><RegExpr String="([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?" attribute="Number" context="FindUnits"/><RegExpr String="#([0-9A-Fa-f]{3,4}){1,2}\b" attribute="Color"/><RegExpr String="\$[a-zA-Z0-9\-_]+" attribute="Variable"/><RegExpr String="[-]?([_a-zA-Z]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))([_a-zA-Z0-9-]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))*" attribute="Normal Text"/><AnyChar String="*/+%-" attribute="Operator"/><StringDetect String="#{" attribute="Interpolation" context="Interpolation"/></context><context name="SelectorAttrValue" attribute="String" lineEndContext="#pop#pop"><DetectChar char="]" attribute="Selector Attribute" context="#pop#pop"/><DetectIdentifier/></context><context name="AtRule" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><DetectChar char="&" attribute="Operator"/><IncludeRules context="FindComments"/><IncludeRules context="FindStrings"/><IncludeRules context="FindFunctions"/><keyword String="media operators" attribute="Keyword"/><RegExpr String="[A-Za-z_-]+(?=\s*:)" attribute="Property"/><keyword String="media types" attribute="Value"/><keyword String="media features" attribute="Value"/><IncludeRules context="FindValues"/></context><context name="Interpolation" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><DetectChar char="}" attribute="Interpolation" context="#pop"/><IncludeRules context="FindStrings"/><IncludeRules context="FindFunctions"/><IncludeRules context="FindValues"/></context><context name="SelectorPseudoValue" attribute="Selector Pseudo" fallthroughContext="#pop#pop" lineEndContext="#pop#pop"><DetectChar char="(" attribute="Selector Pseudo" context="SelectorPseudoValueClose"/></context><context name="@mixin" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="FindComments"/><RegExpr String="[a-zA-Z0-9\-_]+" attribute="Function" context="MixinParameter"/></context><context name="FunctionParameters" attribute="Normal Text" lineEndContext="#pop#pop"><DetectSpaces/><DetectChar char=")" attribute="Function" context="#pop#pop"/><IncludeRules context="FindComments"/><IncludeRules context="FindStrings"/><IncludeRules context="FindFunctions"/><IncludeRules context="FindValues"/><DetectChar char="," attribute="Separator Symbol"/><StringDetect String="..." attribute="Operator"/></context><context name="IsInlineComment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="RuleParameters" attribute="Normal Text" lineEndContext="#pop#pop"><DetectSpaces/><DetectChar char="," attribute="Separator Symbol"/><IncludeRules context="FindComments"/><IncludeRules context="FindStrings"/><IncludeRules context="FindFunctions"/><IncludeRules context="FindValues"/></context><context name="SelectorPseudo" attribute="Selector Pseudo" lineEndContext="#pop"><DetectChar char=":" attribute="Selector Pseudo" context="SelectorPseudoElements"/><keyword String="pseudo-classes" attribute="Selector Pseudo" context="SelectorPseudoValue"/><RegExpr String="[-a-zA-Z][-a-zA-Z0-9]*" attribute="Selector Pseudo" context="SelectorPseudoValue"/></context><context name="@if" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="FindComments"/><IncludeRules context="FindStrings"/><IncludeRules context="FindFunctions"/><IncludeRules context="FindValues"/><AnyChar String="=!<>" attribute="Operator"/></context><context name="@keyframes-@font-face" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="FindComments"/></context><context name="Calc" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="," attribute="Separator Symbol"/><DetectChar char="(" attribute="Normal Text" context="NestedCalc"/><IncludeRules context="FindComments"/><IncludeRules context="FindStrings"/><IncludeRules context="FindFunctions"/><IncludeRules context="FindValues"/><RegExpr String="[-](?=$|[ \t(,;])|[+](?=$|[^0-9)])|[/*]" attribute="Operator"/></context><context name="Comment" attribute="Comment" fallthroughContext="IsInlineComment"><RegExpr String="^%1\s|^\s*$" attribute="Comment" context="IsInlineComment" column="0" dynamic="1"/><DetectSpaces attribute="Normal Text" context="#pop" column="0" lookAhead="1"/><RegExpr String="." attribute="Comment" context="#pop" column="0" lookAhead="1"/></context><context name="InsideString" attribute="String"><StringDetect String="#{" attribute="Interpolation" context="Interpolation"/><RegExpr String="\\([0-9A-Fa-f]{1,6}|.?)" attribute="SpecialChar"/><RegExpr String="\\?[^#"'\\]+" attribute="String"/></context><context name="Rule" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="FindComments"/><DetectChar char=":" attribute="Normal Text" context="RuleParameters"/><StringDetect String="--" attribute="Variable" context="IsVariable"/><keyword String="properties" attribute="Property"/><keyword String="sub-properties" attribute="Property"/><RegExpr String="[^:]+" attribute="Unknown Property"/></context><context name="SelectorAttr" attribute="Selector Attribute" lineEndContext="#pop"><DetectChar char="]" attribute="Selector Attribute" context="#pop"/><IncludeRules context="FindStrings"/><DetectChar char="=" attribute="Operator" context="SelectorAttrValue"/><StringDetect String="~=" attribute="Operator" context="SelectorAttrValue"/><StringDetect String="^=" attribute="Operator" context="SelectorAttrValue"/><StringDetect String="$=" attribute="Operator" context="SelectorAttrValue"/><StringDetect String="*=" attribute="Operator" context="SelectorAttrValue"/><StringDetect String="|=" attribute="Operator" context="SelectorAttrValue"/><DetectIdentifier/></context><context name="@else" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><IncludeRules context="FindComments"/><WordDetect String="if" attribute="At Rule" context="#pop!@if"/><DetectIdentifier attribute="Error"/></context><context name="@extend" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="FindSelector"/></context><context name="@page" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="FindComments"/><DetectChar char=":" attribute="Selector Pseudo" context="SelectorPseudo-@page"/></context><context name="@viewport" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="FindComments"/><DetectChar char=":" attribute="Selector Pseudo" context="SelectorPseudo"/></context><context name="Annotation" attribute="Normal Text" fallthroughContext="#pop" lineEndContext="#pop"><keyword String="annotations" attribute="Annotation" context="#pop"/></context><context name="FindCommentsColumn0" attribute="Comment"><RegExpr String="^(\s+)(?=/[*/])" attribute="Normal Text" context="Comment" column="0"/><RegExpr String="^()/[*/]" attribute="Comment" context="Comment" column="0"/></context><context name="FindSelector" attribute="Normal Text"><AnyChar String=",&" attribute="Error"/><AnyChar String="*>+~|" attribute="Operator"/><DetectChar char=":" attribute="Selector Pseudo" context="SelectorPseudo"/><DetectChar char="[" attribute="Selector Attribute" context="SelectorAttr"/><IncludeRules context="FindComments"/><RegExpr String="#[-]?([_a-zA-Z]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))([_a-zA-Z0-9-]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))*" attribute="Selector Id"/><RegExpr String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" attribute="Selector Class"/><RegExpr String="%[_a-zA-Z][_a-zA-Z\-]*" attribute="Placeholder Selector"/><RegExpr String="[-]?([_a-zA-Z]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))([_a-zA-Z0-9-]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))*" attribute="Selector Tag"/><StringDetect String="#{" attribute="Interpolation" context="Interpolation"/></context><context name="FindUnits" attribute="Normal Text" fallthroughContext="#pop" lineEndContext="#pop"><RegExpr String="(%|(em|ex|cap|ch|ic|rem|lh|rlh|vw|vh|vi|vb|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|cm|mm|Q|in|pc|pt|px|deg|rad|grad|turn|s|ms|Hz|kHz|fr|dpi|dpcm|dppx|x)\b)" attribute="Unit" context="#pop"/></context><context name="Function" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="(" attribute="Function" context="FunctionParameters"/><StringDetect String="var(" attribute="Function" context="FunctionVar"/><StringDetect String="url(" attribute="Function" context="FunctionUrl"/><StringDetect String="calc(" attribute="Function" context="FunctionCalc"/><keyword String="functions" attribute="Function"/><RegExpr String="[-a-zA-Z][-a-zA-Z0-9]*" attribute="Function"/></context><context name="FunctionCalc" attribute="Normal Text" lineEndContext="#pop#pop"><DetectSpaces/><DetectChar char=")" attribute="Function" context="#pop#pop"/><IncludeRules context="Calc"/></context><context name="FunctionUrl" attribute="Normal Text" fallthroughContext="UrlValue" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="FindStrings"/><DetectChar char=")" attribute="Function" context="#pop#pop"/></context><context name="FunctionVar" attribute="Variable" fallthroughContext="#pop!FunctionParameters" lineEndContext="#pop#pop"><DetectSpaces/><IncludeRules context="FindComments"/><RegExpr String="--[^ \t\),]+" attribute="Variable" context="#pop!FunctionParameters"/></context><context name="IsInlineComment2" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><StringDetect String="*/" attribute="Comment" context="#pop"/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="IsVariable" attribute="Normal Text" lineEndContext="#pop"><DetectChar char=":" attribute="Normal Text" context="#pop!RuleParameters"/><RegExpr String="[^:/]+" attribute="Variable"/><IncludeRules context="FindComments"/></context><context name="MixinParameter" attribute="Error" lineEndContext="#pop#pop"><DetectSpaces attribute="Normal Text"/><AnyChar String="()" attribute="Normal Text"/><DetectChar char="," attribute="Separator Symbol"/><IncludeRules context="FindComments"/><RegExpr String="\$[a-zA-Z0-9\-_]+" attribute="Variable"/><StringDetect String="..." attribute="Operator"/></context><context name="NestedCalc" attribute="Normal Text" lineEndContext="#pop#pop"><DetectSpaces/><DetectChar char=")" attribute="Normal Text" context="#pop"/><IncludeRules context="Calc"/></context><context name="SelectAtRule" attribute="At Rule" lineEndContext="#pop"><keyword String="at-rules" attribute="At Rule" context="#pop!AtRule"/><WordDetect String="@inline" attribute="At Rule" context="#pop!AtRule"/><WordDetect String="@extend" attribute="At Rule" context="#pop!@extend"/><WordDetect String="@mixin" attribute="At Rule" context="#pop!@mixin"/><WordDetect String="@function" attribute="At Rule" context="#pop!@mixin"/><WordDetect String="@keyframes" attribute="At Rule" context="#pop!@keyframes-@font-face"/><WordDetect String="@font-face" attribute="At Rule" context="#pop!@keyframes-@font-face"/><WordDetect String="@viewport" attribute="At Rule" context="#pop!@viewport"/><WordDetect String="@if" attribute="At Rule" context="#pop!@if"/><WordDetect String="@else" attribute="At Rule" context="#pop!@else"/><WordDetect String="@page" attribute="At Rule" context="#pop!@page"/><RegExpr String="@[a-zA-Z0-9\-_]+\b" attribute="At Rule" context="#pop!AtRule"/></context><context name="SelectorPseudo-@page" attribute="Selector Pseudo" fallthroughContext="#pop" lineEndContext="#pop"><keyword String="@page pseudo-classes" attribute="Selector Pseudo" context="#pop"/><RegExpr String="[-a-zA-Z][-a-zA-Z0-9]*" attribute="Selector Pseudo" context="#pop"/></context><context name="SelectorPseudoElements" attribute="Selector Pseudo" lineEndContext="#pop#pop"><keyword String="pseudo-elements" attribute="Selector Pseudo" context="#pop!SelectorPseudoValue"/><RegExpr String="[-a-zA-Z][-a-zA-Z0-9]*" attribute="Selector Pseudo" context="#pop!SelectorPseudoValue"/></context><context name="SelectorPseudoValueClose" attribute="Selector Pseudo" lineEndContext="#pop#pop#pop"><DetectChar char=")" attribute="Selector Pseudo" context="#pop#pop#pop"/><DetectIdentifier/></context><context name="StringDQ" attribute="String" lineEndContext="#pop"><DetectChar char='"' attribute="String" context="#pop"/><IncludeRules context="InsideString"/></context><context name="StringSQ" attribute="String" lineEndContext="#pop"><DetectChar char="'" attribute="String" context="#pop"/><IncludeRules context="InsideString"/></context><context name="UrlValue" attribute="String" lineEndContext="#pop#pop#pop"><DetectChar char=")" attribute="Function" context="#pop#pop#pop"/></context><context name="VariableDefine" attribute="Normal Text" lineEndContext="#pop"><DetectChar char=":" attribute="Normal Text" context="RuleParameters"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="0"/><itemData name="At Rule" defStyleNum="dsImport" spellChecking="0"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Property" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Unknown Property" defStyleNum="dsNormal" spellChecking="0"/><itemData name="String" defStyleNum="dsString"/><itemData name="SpecialChar" defStyleNum="dsSpecialChar" spellChecking="0"/><itemData name="Interpolation" defStyleNum="dsOperator" spellChecking="0"/><itemData name="Operator" defStyleNum="dsOperator" spellChecking="0"/><itemData name="Separator Symbol" defStyleNum="dsOperator" spellChecking="0"/><itemData name="Value" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Number" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Value Keyword" defStyleNum="dsBuiltIn" spellChecking="0"/><itemData name="Color" defStyleNum="dsConstant" spellChecking="0"/><itemData name="Unit" defStyleNum="dsDataType" spellChecking="0"/><itemData name="Variable" defStyleNum="dsVariable" spellChecking="0"/><itemData name="Function" defStyleNum="dsFunction" spellChecking="0"/><itemData name="Annotation" defStyleNum="dsAttribute" spellChecking="0"/><itemData name="Selector Id" defStyleNum="dsPreprocessor" bold="1" spellChecking="0"/><itemData name="Selector Class" defStyleNum="dsFunction" spellChecking="0"/><itemData name="Selector Attribute" defStyleNum="dsExtension" spellChecking="0"/><itemData name="Selector Pseudo" defStyleNum="dsInformation" italic="1" spellChecking="0"/><itemData name="Selector Tag" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Placeholder Selector" defStyleNum="dsBuiltIn" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Error" defStyleNum="dsError" spellChecking="0"/></itemDatas></highlighting><general><keywords casesensitive="0" weakDeliminator="-%@"/><folding indentationsensitive="1"/><comments><comment name="singleLine" start="//" position="afterwhitespace"/></comments></general></language> |