Commit c821a607 authored by Christoph Cullmann's avatar Christoph Cullmann

sync hl files

parent 7066cfa2
......@@ -209,7 +209,6 @@ Kate's highlighting powered by [KSyntaxHighlighting](https://api.kde.org/framewo
* [Bash](/syntax/data/syntax/bash.xml)
* [BrightScript](/syntax/data/syntax/brightscript.xml)
* [CLIST](/syntax/data/syntax/clist.xml)
* [Chicken](/syntax/data/syntax/chicken.xml)
* [CoffeeScript](/syntax/data/syntax/coffee.xml)
* [CubeScript](/syntax/data/syntax/cubescript.xml)
* [Erlang](/syntax/data/syntax/erlang.xml)
......@@ -310,6 +309,7 @@ Kate's highlighting powered by [KSyntaxHighlighting](https://api.kde.org/framewo
* [Modula-2 (R10 only)](/syntax/data/syntax/modula-2-r10-only.xml)
* [MonoBasic](/syntax/data/syntax/monobasic.xml)
* [Nemerle](/syntax/data/syntax/nemerle.xml)
* [Nim](/syntax/data/syntax/nim.xml)
* [OORS](/syntax/data/syntax/oors.xml)
* [OPAL](/syntax/data/syntax/opal.xml)
* [Objective Caml](/syntax/data/syntax/ocaml.xml)
......
This diff is collapsed.
......@@ -9,7 +9,7 @@
<!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )"> <!-- valid character in a file name -->
<!ENTITY charbeforecomment "[\s;]"> <!-- character before a comment # -->
]>
<language name="Bash" version="10" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD;APKBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<language name="Bash" version="11" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD;APKBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl)
Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)
......@@ -563,7 +563,8 @@
<!-- handle here document -->
<Detect2Chars attribute="Redirection" context="HereDoc" char="&lt;" char1="&lt;" lookAhead="true" />
<!-- handle process subst -->
<RegExpr attribute="Redirection" context="ProcessSubst" String="[&lt;&gt;]\(" />
<Detect2Chars attribute="Redirection" context="ProcessSubst" char="&lt;" char1="(" />
<Detect2Chars attribute="Redirection" context="ProcessSubst" char="&gt;" char1="(" />
<!-- handle redirection -->
<RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" />
<!-- handle &, &&, | and || -->
......@@ -606,7 +607,8 @@
<!-- handle here document -->
<Detect2Chars attribute="Redirection" context="HereDoc" char="&lt;" char1="&lt;" lookAhead="true" />
<!-- handle process subst -->
<RegExpr attribute="Redirection" context="ProcessSubst" String="[&lt;&gt;]\(" />
<Detect2Chars attribute="Redirection" context="ProcessSubst" char="&lt;" char1="(" />
<Detect2Chars attribute="Redirection" context="ProcessSubst" char="&gt;" char1="(" />
<!-- handle redirection -->
<RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" />
<!-- handle &, &&, |, ||, ; and ;; -->
......
......@@ -2,7 +2,7 @@
<!DOCTYPE language>
<!-- Based on Python syntax highlighting v1.99 by Primoz Anzur, Paul Giannaros, Michael Bueker, Per Wigren -->
<!-- Also based on boo.lang from gtksourceview -->
<language name="Boo" version="3" kateversion="5.0" section="Sources" extensions="*.boo" mimetype="text/x-boo" casesensitive="1" author="Marc Dassonneville" license="LGPL">
<language name="Boo" version="4" kateversion="5.0" section="Sources" extensions="*.boo" mimetype="text/x-boo" casesensitive="1" author="Marc Dassonneville" license="LGPL">
<highlighting>
<list name="namespace">
<item>import</item>
......@@ -163,11 +163,13 @@
<RegExpr attribute="Hex" String="0[Xx][0-9a-fA-F]+" context="#stay"/>
<RegExpr attribute="Octal" String="0[1-9][0-9]*" context="#stay"/>
<RegExpr attribute="Raw String" String="[rR]'''" context="Raw Tripple A-string"/>
<RegExpr attribute="Raw String" String="[rR]&quot;&quot;&quot;" context="Raw Tripple Q-string"/>
<StringDetect attribute="Raw String" String="r'''" context="Raw Tripple A-string" insensitive="1"/>
<StringDetect attribute="Raw String" String="r&quot;&quot;&quot;" context="Raw Tripple Q-string" insensitive="1"/>
<RegExpr attribute="Raw String" String="[rR]'" context="Raw A-string"/>
<RegExpr attribute="Raw String" String="[rR]&quot;" context="Raw Q-string"/>
<Detect2Chars attribute="Raw String" char="r" char1="'" context="Raw A-string"/>
<Detect2Chars attribute="Raw String" char="R" char1="'" context="Raw A-string"/>
<Detect2Chars attribute="Raw String" char="r" char1="&quot;" context="Raw Q-string"/>
<Detect2Chars attribute="Raw String" char="R" char1="&quot;" context="Raw Q-string"/>
<RegExpr attribute="Comment" String="#.*$" context="#stay"/>
<RegExpr attribute="Comment" String="^\s*u?'''" context="Tripple A-comment" beginRegion="Tripple A-region"/>
......@@ -185,7 +187,7 @@
<StringDetect attribute="Operator" String="[|" context="Quasi-Quotation" beginRegion="qq"/>
<StringDetect attribute="Operator" String="|]" context="#pop" endRegion="qq"/>
<RegExpr attribute="Operator" String="[+*/%\|=;\!&lt;&gt;!^&amp;~-]" context="#stay"/>
<AnyChar attribute="Operator" String="+*/%|=;!&lt;&gt;!^&amp;~-" context="#stay"/>
<RegExpr attribute="String Substitution" String="%[a-zA-Z]" context="#stay"/>
</context>
......
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Debian Changelog" version="10" kateversion="2.4" section="Other" extensions="" mimetype="">
<language name="Debian Changelog" version="11" kateversion="2.4" section="Other" extensions="" mimetype="">
<highlighting>
<list name="keywords">
<item>urgency</item>
......@@ -234,7 +234,7 @@
<context attribute="Normal Text" lineEndContext="#pop" name="Head">
<DetectChar attribute="Keyword" context="Version" char="("/>
<RegExpr attribute="Keyword" context="#stay" String="[,;=]"/>
<AnyChar attribute="Keyword" context="#stay" String=",;="/>
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Data" context="#stay" String="distributions"/>
<keyword attribute="Data" context="#stay" String="urgencies"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Debian Control" version="1" kateversion="5.0" section="Other" extensions="control" mimetype="">
<language name="Debian Control" version="2" kateversion="5.0" section="Other" extensions="control" mimetype="">
<highlighting>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="INIT">
......@@ -33,14 +33,14 @@
<context attribute="Value" lineEndContext="#pop" name="DependencyField">
<RegExpr attribute="Email" context="#stay" String="&lt;.*@.*&gt;" minimal="true"/>
<Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/>
<RegExpr attribute="Keyword" context="#stay" String="[,\|]"/>
<AnyChar attribute="Keyword" context="#stay" String=",|"/>
<DetectChar attribute="Keyword" context="Constrain" char="("/>
<DetectChar attribute="Keyword" context="Constrain" char="["/>
</context>
<context attribute="Version" lineEndContext="#stay" name="Constrain">
<Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/>
<RegExpr attribute="Keyword" context="#stay" String="[!&lt;=&gt;]"/>
<AnyChar attribute="Keyword" context="#stay" String="!&lt;=&gt;"/>
<DetectChar attribute="Keyword" context="#pop" char=")"/>
<DetectChar attribute="Keyword" context="#pop" char="]"/>
</context>
......
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Elm" version="2" kateversion="5.0" section="Sources" extensions="*.elm" author="Bonghyun Kim (bonghyun.d.kim@gmail.com)" license="MIT" style="elm">
<language name="Elm" version="3" kateversion="5.0" section="Sources" extensions="*.elm" author="Bonghyun Kim (bonghyun.d.kim@gmail.com)" license="MIT" style="elm">
<highlighting>
<list name="declarations">
<item>type</item>
......@@ -56,7 +56,7 @@
<RegExpr attribute="Name" context="#stay" String="(\b[a-z]\w*|\b_\b)" />
<RegExpr attribute="Operator" context="#stay" String="(-&gt;|::|\/\/|\.\.|&amp;&amp;|\|\||\+\+|\|&gt;|&lt;\||&gt;&gt;|&lt;&lt;|==|\/=|&lt;=|&gt;=)" />
<RegExpr attribute="Operator" context="#stay" String="[+-\/*%=&gt;&lt;^\|!]" />
<RegExpr attribute="Operator" context="#stay" String="[@\#$&amp;~?]" />
<AnyChar attribute="Operator" context="#stay" String="@#$&amp;~?" />
<RegExpr attribute="Type" context="#stay" String="\b[A-Z][\w]*" />
......
......@@ -25,7 +25,7 @@
-->
<language name="G-Code"
version="4"
version="5"
kateversion="3.8"
section="3D"
extensions="*.ngc"
......@@ -94,11 +94,11 @@
<DetectChar char="]" attribute="Brackets"/>
<DetectChar char="(" lookAhead="1" context="parenthese"/>
<DetectChar char="#" lookAhead="1" context="hash1"/>
<AnyChar String="+-*/=" attribute="Operator"/>
<RegExpr String="[.][\d\s\t]*[.]" lookAhead="1" context="alert"/>
<RegExpr String="[.][\d\s\t]*" attribute="Number"/>
<RegExpr String="[\d][\d\s\t]*[.][\d\s\t]*[.]" lookAhead="1" context="alert"/>
<RegExpr String="[\d][\d\s\t]*[.]?[\d\s\t]*" attribute="Number"/>
<RegExpr String="[+\-*/=]" attribute="Operator"/>
<RegExpr String=";.*$" attribute="Comment"/>
<keyword String="functions" attribute="Function"/>
<keyword String="operators" attribute="Operator"/>
......@@ -120,27 +120,27 @@
</context>
<context name="feed" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[fF]" attribute="Tool" context="#pop"/>
<AnyChar String="fF" attribute="Tool" context="#pop"/>
</context>
<context name="tools" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[tsTS]" attribute="Tool" context="#pop"/>
<AnyChar String="tsTS" attribute="Tool" context="#pop"/>
</context>
<context name="gword" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[gG]" attribute="G-word" context="#pop"/>
<AnyChar String="gG" attribute="G-word" context="#pop"/>
</context>
<context name="mword" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[mM]" attribute="M-word" context="#pop"/>
<AnyChar String="mM" attribute="M-word" context="#pop"/>
</context>
<context name="coords" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[abcu-z]" insensitive="1" attribute="Coordinate" context="#pop"/>
<AnyChar String="abcuvwxyzABCUVWXYZ" attribute="Coordinate" context="#pop"/>
</context>
<context name="opts" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[deh-lpqr@^]" insensitive="1" attribute="G-options" context="#pop"/>
<AnyChar String="dehijklpqrDEHIJKLPQR@^" attribute="G-options" context="#pop"/>
</context>
<context name="parenthese" attribute="Alert" lineEndContext="#pop">
......
......@@ -48,7 +48,7 @@
- NOTE, FIXME, TODO alerts added on comments
- improved highlighting
-->
<language name="Lua" version="10" indenter="lua" kateversion="5.0" section="Scripts" extensions="*.lua" mimetype="text/x-lua">
<language name="Lua" version="11" indenter="lua" kateversion="5.0" section="Scripts" extensions="*.lua" mimetype="text/x-lua">
<highlighting>
<list name="keywords">
<item>and</item>
......@@ -469,7 +469,7 @@
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<keyword attribute="Deprecated" context="#stay" String="deprecated" />
<IncludeRules context="##DoxygenLua" />
<Detect2Chars attribute="Comment" context="MatchComment" char="-" char1="-" lookAhead="true"/>
<RegExpr attribute="RawStrings" context="String_block" String="\[(=*)\[" />
<DetectChar attribute="Strings" context="String_single" char="'"/>
......@@ -501,6 +501,17 @@
<AnyChar attribute="Symbols" context="#stay" String=":[]().,=~+-*/%&amp;|^&gt;&lt;#;" />
</context>
<context name="MatchComment" attribute="Normal Text" lineEndContext="#pop" fallthroughContext="#pop">
<IncludeRules context="##DoxygenLua" />
<RegExpr attribute="Comment" context="#pop!BlockComment" String="--\[(=*)\[" beginRegion="BlockComment" />
<Detect2Chars attribute="Comment" context="#pop!Comment" char="-" char1="-" />
</context>
<context name="BlockComment" attribute="Comment" lineEndContext="#stay" dynamic="true">
<RegExpr attribute="Comment" context="#stay" String="[^\]]*" />
<StringDetect attribute="Comment" context="#pop" String="]%1]" dynamic="true" endRegion="BlockComment" />
</context>
<context name="StartControl" attribute="Normal Text" lineEndContext="#stay">
<keyword attribute="Control" context="#stay" endRegion="chunk" beginRegion="chunk" String="elsecontrol" />
<keyword attribute="Control" context="#pop" endRegion="chunk" String="endcontrol" />
......@@ -514,14 +525,14 @@
<context name="Local" attribute="Normal Text" lineEndContext="#pop" fallthroughContext="#pop">
<DetectSpaces />
<IncludeRules context="##DoxygenLua" />
<Detect2Chars attribute="Comment" context="MatchComment" char="-" char1="-" lookAhead="true"/>
<RegExpr attribute="Constant" context="LocalVariable" String="\b[A-Z_][A-Z0-9_]*\b" />
<DetectIdentifier attribute="Variable" context="LocalVariable" />
</context>
<context name="LocalVariable" attribute="Normal Text" lineEndContext="#pop#pop" fallthroughContext="#pop#pop">
<DetectSpaces />
<IncludeRules context="##DoxygenLua" />
<Detect2Chars attribute="Comment" context="MatchComment" char="-" char1="-" lookAhead="true"/>
<DetectChar attribute="Symbols" context="#pop" char="," />
<DetectChar attribute="Attribute" context="Attribute" char="&lt;" lookAhead="true" />
</context>
......
......@@ -38,7 +38,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<language name="GNU M4" version="2" section="Sources" kateversion="3.0" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License">
<language name="GNU M4" version="3" section="Sources" kateversion="3.0" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License">
<highlighting>
<list name="optbuiltins">
<item>__gnu__</item>
......@@ -165,7 +165,7 @@
<DetectChar attribute="Commas" char="," context="#stay"/>
<DetectChar attribute="Operators" char="(" context="inparenthesis" beginRegion="parenthesis"/>
<DetectChar attribute="Operators" char=")" context="#pop" endRegion="parenthesis"/>
<RegExpr attribute="Operators" String="[+*/%\|=\!&lt;&gt;!^&amp;~-]" context="#stay"/>
<AnyChar attribute="Operators" String="+*/%|=!&lt;&gt;^&amp;~-" context="#stay"/>
</context>
<context name="inparenthesis" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true">
<IncludeRules context="Normal Text" />
......
This diff is collapsed.
......@@ -6,7 +6,7 @@
<!ENTITY wikiLinkWithDescription "\[\[[^]|]*\|[^]]*\]\]">
<!ENTITY wikiLinkWithoutDescription "\[\[[^]|]*\]\]">
]>
<language name="MediaWiki" section="Markup" version="6" kateversion="5.0" extensions="*.mediawiki" mimetype="" license="FDL" >
<language name="MediaWiki" section="Markup" version="7" kateversion="5.0" extensions="*.mediawiki" mimetype="" license="FDL" >
<highlighting>
<contexts>
<context attribute="Normal" lineEndContext="#stay" name="normal" >
......@@ -15,7 +15,8 @@
<RegExpr String="[=]{4,4}(?!=)" context="Section4" attribute="Section" column="0" />
<RegExpr String="[=]{3,3}(?!=)" context="Section3" attribute="Section" column="0" />
<RegExpr String="[=]{2,2}(?!=)" context="Section2" attribute="Section" column="0" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<DetectChar char=";" attribute="WikiTag" context="DefinitionListHeader" column="0" />
<IncludeRules context="FindListItem" />
<IncludeRules context="FindUrl" />
......@@ -29,7 +30,7 @@
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
<IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<RegExpr String="[\s]" context="Unformatted" column="0" />
<DetectSpaces context="Unformatted" column="0" />
</context>
<context name="TableHeader" attribute="Normal" lineEndContext="TableContent" >
<Detect2Chars char="{" char1="|" attribute="WikiTag" beginRegion="table" />
......@@ -58,13 +59,15 @@
<IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<RegExpr String="[\s]" context="Unformatted" column="0" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<RegExpr String="[-]{4,}" attribute="WikiTag" context="#stay" />
<DetectChar char="!" attribute="WikiTag" context="#stay" column="0" />
</context>
<context attribute="Section" lineEndContext="#pop" name="Section5" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsInHeader" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
......@@ -83,7 +86,8 @@
</context>
<context attribute="Section" lineEndContext="#pop" name="Section4" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsInHeader" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
......@@ -101,7 +105,8 @@
</context>
<context attribute="Section" lineEndContext="#pop" name="Section3" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsInHeader" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
......@@ -119,7 +124,8 @@
</context>
<context attribute="Section" lineEndContext="#pop" name="Section2" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsInHeader" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
......@@ -284,7 +290,8 @@
<context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlot" >
<Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" lookAhead="true" />
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindListItem" />
<IncludeRules context="FindUrlWithinTemplate" />
<IncludeRules context="FindTextDecorations" />
......@@ -306,7 +313,8 @@
</context>
<context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlotValue" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindListItem" />
<IncludeRules context="FindUrlWithinTemplate" />
<IncludeRules context="FindTextDecorations" />
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Music Publisher" version="3" kateversion="2.4" section="Other" extensions="*.mup;*.not" mimetype="text/x-mup;audio/x-mup;application/x-mup;audio/x-notes" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<language name="Music Publisher" version="4" kateversion="2.4" section="Other" extensions="*.mup;*.not" mimetype="text/x-mup;audio/x-mup;application/x-mup;audio/x-notes" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<highlighting>
......@@ -625,8 +625,9 @@
<context attribute="Value" lineEndContext="#pop" name="Value"
fallthrough="true" fallthroughContext="#pop">
<DetectSpaces attribute="Normal Text" context="#stay" />
<DetectChar attribute="Normal Text" context="#pop" char=";" />
<RegExpr attribute="Normal Text" context="#stay" String="[\s,&amp;()-]+" />
<AnyChar attribute="Normal Text" context="#stay" String=",&amp;()-" />
<keyword attribute="Value" context="#stay" String="mupvalues" />
<keyword attribute="Value" context="#pop" String="mupfontnames" />
<keyword attribute="Value" context="#pop" String="mupfontstyles" />
......@@ -644,8 +645,9 @@
<context attribute="Parameter" lineEndContext="#pop" name="Unset"
fallthrough="true" fallthroughContext="#pop">
<DetectSpaces attribute="Normal Text" context="#stay" />
<DetectChar attribute="Normal Text" context="#stay" char="," />
<keyword attribute="Parameter" context="#stay" String="mupparameters" />
<RegExpr attribute="Normal Text" context="#stay" String="[\s,]+" />
<RegExpr attribute="Error" context="#pop" String="\w+" />
</context>
......@@ -698,8 +700,9 @@
<context attribute="Note Attribute" lineEndContext="#pop" name="Bracket"
fallthrough="true" fallthroughContext="#pop">
<DetectSpaces attribute="Normal Text" context="#stay" />
<DetectChar attribute="Special Char" context="#pop" char="]" />
<RegExpr attribute="Normal Text" context="#stay" String="[\s;,]+" />
<AnyChar attribute="Normal Text" context="#stay" String=";," />
<RegExpr attribute="Note Attribute" context="#stay" String="\b(grace|xnote|cue|diam|up|down)\b" />
<RegExpr attribute="Note Attribute" context="#stay" String="\b(slash|len|pad|ho|dist)\s*[0-9.+-]*" />
<RegExpr attribute="Note Attribute" context="Bracket With" String="\bwith\s*(?=[A-Z&quot;^&gt;.-])" />
......@@ -712,9 +715,10 @@
<context attribute="Note Attribute" lineEndContext="#pop" name="Bracket With"
fallthrough="true" fallthroughContext="#pop">
<DetectSpaces attribute="Normal Text" context="#stay" />
<DetectChar attribute="String" context="String" char="&quot;" />
<RegExpr attribute="Note Attribute" context="#stay" String="[&gt;.^-]+" />
<RegExpr attribute="Normal Text" context="#stay" String="[\s,]+" />
<AnyChar attribute="Note Attribute" context="#stay" String="&gt;.^-" />
<DetectChar attribute="Normal Text" context="#stay" char="," />
<IncludeRules context="Macro" />
</context>
......@@ -740,7 +744,8 @@
<context attribute="Normal Text" lineEndContext="#pop" name="Location"
fallthrough="true" fallthroughContext="#pop">
<RegExpr attribute="Normal Text" context="#stay" String="[\s+-]+" />
<DetectSpaces attribute="Normal Text" context="#stay" />
<AnyChar attribute="Normal Text" context="#stay" String="+-" />
<Float attribute="Normal Text" context="#stay" />
<RegExpr attribute="Location" context="#stay" String="\btime\b" />
<IncludeRules context="Macro" />
......
This diff is collapsed.
......@@ -39,7 +39,7 @@
Enhance tr/// and y/// support.
-->
<language name="Perl" version="10" kateversion="2.4" section="Scripts" extensions="*.pl;*.PL;*.pm" mimetype="application/x-perl;text/x-perl" priority="5" author="Anders Lund (anders@alweb.dk)" license="LGPLv2">
<language name="Perl" version="11" kateversion="2.4" section="Scripts" extensions="*.pl;*.PL;*.pm" mimetype="application/x-perl;text/x-perl" priority="5" author="Anders Lund (anders@alweb.dk)" license="LGPLv2">
<highlighting>
<list name="keywords">
<item>if</item>
......@@ -674,7 +674,7 @@
<context name="regex_pattern_internal_rules_2" attribute="Pattern" lineEndContext="#stay">
<Detect2Chars attribute="Pattern Internal Operator" context="pat_ext" char="(" char1="?" />
<DetectChar attribute="Pattern Internal Operator" context="pat_char_class" char="[" />
<RegExpr attribute="Pattern Internal Operator" context="#stay" String="[()?^*+|]" />
<AnyChar attribute="Pattern Internal Operator" context="#stay" String="()?^*+|" />
<RegExpr attribute="Pattern Internal Operator" context="#stay" String="\{[\d, ]+\}" />
<DetectChar attribute="Pattern Internal Operator" context="#stay" char="$" />
<RegExpr attribute="Comment" context="#stay" String="\s{3,}#.*$" />
......@@ -694,8 +694,8 @@
<IncludeRules context="regex_pattern_internal_rules_2" />
</context>
<context name="pat_ext" attribute="Pattern Internal Operator" lineEndContext="#stay">
<AnyChar attribute="Pattern Internal Operator" context="#pop" String=":=!&gt;&lt;" />
<RegExpr attribute="Comment" context="#pop" String="\#[^)]*" />
<RegExpr attribute="Pattern Internal Operator" context="#pop" String="[:=!&gt;&lt;]+" />
<DetectChar attribute="Pattern Internal Operator" context="#pop" char=")" />
</context>
<context name="pat_char_class" attribute="Pattern Character Class" lineEndContext="#stay">
......
This diff is collapsed.
......@@ -4,7 +4,7 @@
<!ENTITY name "[A-Za-z_:][\w.:_-]*">
<!ENTITY entref "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
]>
<language name="XUL" version="5" kateversion="5.0" section="Markup" extensions="*.xul;*.xbl" mimetype="text/xul" casesensitive="1" indenter="xml" author="Wilbert Berendsen (wilbert@kde.nl), Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net), Marc Dassonneville (marc.dassonneville@gmail.com)" license="LGPL">
<language name="XUL" version="6" kateversion="5.0" section="Markup" extensions="*.xul;*.xbl" mimetype="text/xul" casesensitive="1" indenter="xml" author="Wilbert Berendsen (wilbert@kde.nl), Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net), Marc Dassonneville (marc.dassonneville@gmail.com)" license="LGPL">
<highlighting>
<list name="keywords">
......@@ -520,7 +520,7 @@
<DetectChar attribute="String" context="String 1" char="'"/>
<Detect2Chars attribute="Comment" context="JSComment" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" beginRegion="Comment"/>
<RegExpr attribute="Normal Text" context="(Internal regex catch)" String="[=?:]" />
<AnyChar attribute="Normal Text" context="(Internal regex catch)" String="=?:" />
<RegExpr attribute="Normal Text" context="(Internal regex catch)" String="\(" />
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
......
......@@ -8,7 +8,7 @@
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
<!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )"> <!-- valid character in a file name -->
]>
<language name="Zsh" version="3" kateversion="2.4" section="Scripts" extensions="*.sh;*.zsh;.zshrc;.zprofile;.zlogin;.zlogout;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Jonathan Kolberg (bulldog98@kubuntu-de.org)" license="LGPL">
<language name="Zsh" version="4" kateversion="2.4" section="Scripts" extensions="*.sh;*.zsh;.zshrc;.zprofile;.zlogin;.zlogout;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Jonathan Kolberg (bulldog98@kubuntu-de.org)" license="LGPL">
<!-- (c) 2011 by Jonathan Kolberg (bulldog98@kubuntu-de.org)
modified for zsh -->
......@@ -600,7 +600,8 @@
<!-- handle here document -->
<Detect2Chars attribute="Redirection" context="HereDoc" char="&lt;" char1="&lt;" lookAhead="true" />
<!-- handle process subst -->
<RegExpr attribute="Redirection" context="ProcessSubst" String="[&lt;&gt;]\(" />
<Detect2Chars attribute="Redirection" context="ProcessSubst" char="&lt;" char1="(" />
<Detect2Chars attribute="Redirection" context="ProcessSubst" char="&gt;" char1="(" />
<!-- handle redirection -->
<RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" />
<!-- handle &, &&, | and || -->
......
......@@ -6,7 +6,6 @@
<Definition name="Adblock Plus" url="https://kate-editor.org/syntax/data/syntax/adblock.xml" version="1"/>
<Definition name="Agda" url="https://kate-editor.org/syntax/data/syntax/agda.xml" version="6"/>
<Definition name="AHDL" url="https://kate-editor.org/syntax/data/syntax/ahdl.xml" version="3"/>
<Definition name="AutoHotKey" url="https://kate-editor.org/syntax/data/syntax/ahk.xml" version="3"/>
<Definition name="ANS-Forth94" url="https://kate-editor.org/syntax/data/syntax/ansforth94.xml" version="4"/>
<Definition name="ANSI C89" url="https://kate-editor.org/syntax/data/syntax/ansic89.xml" version="5"/>
<Definition name="Ansys" url="https://kate-editor.org/syntax/data/syntax/ansys.xml" version="6"/>
......@@ -19,10 +18,10 @@
<Definition name="Asm6502" url="https://kate-editor.org/syntax/data/syntax/asm6502.xml" version="3"/>
<Definition name="ASP" url="https://kate-editor.org/syntax/data/syntax/asp.xml" version="4"/>
<Definition name="AWK" url="https://kate-editor.org/syntax/data/syntax/awk.xml" version="3"/>
<Definition name="Bash" url="https://kate-editor.org/syntax/data/syntax/bash.xml" version="10"/>
<Definition name="Bash" url="https://kate-editor.org/syntax/data/syntax/bash.xml" version="11"/>
<Definition name="BibTeX" url="https://kate-editor.org/syntax/data/syntax/bibtex.xml" version="2"/>
<Definition name="B-Method" url="https://kate-editor.org/syntax/data/syntax/bmethod.xml" version="1"/>
<Definition name="Boo" url="https://kate-editor.org/syntax/data/syntax/boo.xml" version="3"/>
<Definition name="Boo" url="https://kate-editor.org/syntax/data/syntax/boo.xml" version="4"/>
<Definition name="BrightScript" url="https://kate-editor.org/syntax/data/syntax/brightscript.xml" version="5"/>
<Definition name="C" url="https://kate-editor.org/syntax/data/syntax/c.xml" version="9"/>
<Definition name="CartoCSS" url="https://kate-editor.org/syntax/data/syntax/carto-css.xml" version="2"/>
......@@ -43,17 +42,17 @@
<Definition name="CUE Sheet" url="https://kate-editor.org/syntax/data/syntax/cue.xml" version="1"/>
<Definition name="Curry" url="https://kate-editor.org/syntax/data/syntax/curry.xml" version="1"/>
<Definition name="D" url="https://kate-editor.org/syntax/data/syntax/d.xml" version="5"/>
<Definition name="Debian Control" url="https://kate-editor.org/syntax/data/syntax/debiancontrol.xml" version="1"/>
<Definition name="Debian Control" url="https://kate-editor.org/syntax/data/syntax/debiancontrol.xml" version="2"/>
<Definition name="Diff" url="https://kate-editor.org/syntax/data/syntax/diff.xml" version="5"/>
<Definition name="Django HTML Template" url="https://kate-editor.org/syntax/data/syntax/djangotemplate.xml" version="4"/>
<Definition name="MS-DOS Batch" url="https://kate-editor.org/syntax/data/syntax/dosbat.xml" version="3"/>
<Definition name="dot" url="https://kate-editor.org/syntax/data/syntax/dot.xml" version="3"/>
<Definition name="Doxyfile" url="https://kate-editor.org/syntax/data/syntax/doxyfile.xml" version="2"/>
<Definition name="Doxygen" url="https://kate-editor.org/syntax/data/syntax/doxygen.xml" version="6"/>
<Definition name="DoxygenLua" url="https://kate-editor.org/syntax/data/syntax/doxygenlua.xml" version="7"/>
<Definition name="Doxygen" url="https://kate-editor.org/syntax/data/syntax/doxygen.xml" version="7"/>
<Definition name="DoxygenLua" url="https://kate-editor.org/syntax/data/syntax/doxygenlua.xml" version="8"/>
<Definition name="E Language" url="https://kate-editor.org/syntax/data/syntax/e.xml" version="3"/>
<Definition name="Eiffel" url="https://kate-editor.org/syntax/data/syntax/eiffel.xml" version="2"/>
<Definition name="Elm" url="https://kate-editor.org/syntax/data/syntax/elm.xml" version="2"/>
<Definition name="Elm" url="https://kate-editor.org/syntax/data/syntax/elm.xml" version="3"/>
<Definition name="Email" url="https://kate-editor.org/syntax/data/syntax/email.xml" version="5"/>
<Definition name="Erlang" url="https://kate-editor.org/syntax/data/syntax/erlang.xml" version="3"/>
<Definition name="Euphoria" url="https://kate-editor.org/syntax/data/syntax/euphoria.xml" version="6"/>
......@@ -96,15 +95,17 @@
<Definition name="Kotlin" url="https://kate-editor.org/syntax/data/syntax/kotlin.xml" version="5"/>
<Definition name="LaTeX" url="https://kate-editor.org/syntax/data/syntax/latex.xml" version="14"/>
<Definition name="Logcat" url="https://kate-editor.org/syntax/data/syntax/logcat.xml" version="5"/>
<Definition name="Lua" url="https://kate-editor.org/syntax/data/syntax/lua.xml" version="10"/>
<Definition name="GNU M4" url="https://kate-editor.org/syntax/data/syntax/m4.xml" version="2"/>
<Definition name="Lua" url="https://kate-editor.org/syntax/data/syntax/lua.xml" version="11"/>
<Definition name="GNU M4" url="https://kate-editor.org/syntax/data/syntax/m4.xml" version="3"/>
<Definition name="Mako" url="https://kate-editor.org/syntax/data/syntax/mako.xml" version="5"/>
<Definition name="Mathematica" url="https://kate-editor.org/syntax/data/syntax/mathematica.xml" version="10"/>
<Definition name="Matlab" url="https://kate-editor.org/syntax/data/syntax/matlab.xml" version="3"/>
<Definition name="MediaWiki" url="https://kate-editor.org/syntax/data/syntax/mediawiki.xml" version="6"/>
<Definition name="MediaWiki" url="https://kate-editor.org/syntax/data/syntax/mediawiki.xml" version="7"/>
<Definition name="Metapost/Metafont" url="https://kate-editor.org/syntax/data/syntax/metafont.xml" version="6"/>
<Definition name="Metamath" url="https://kate-editor.org/syntax/data/syntax/metamath.xml" version="2"/>
<Definition name="Modelica" url="https://kate-editor.org/syntax/data/syntax/modelica.xml" version="6"/>
<Definition name="Modelines" url="https://kate-editor.org/syntax/data/syntax/modelines.xml" version="5"/>
<Definition name="Nim" url="https://kate-editor.org/syntax/data/syntax/nim.xml" version="2"/>
<Definition name="Ninja" url="https://kate-editor.org/syntax/data/syntax/ninja.xml" version="1"/>
<Definition name="NSIS" url="https://kate-editor.org/syntax/data/syntax/nsis.xml" version="4"/>
<Definition name="Objective-C" url="https://kate-editor.org/syntax/data/syntax/objectivec.xml" version="3"/>
......@@ -129,7 +130,6 @@
<Definition name="reStructuredText" url="https://kate-editor.org/syntax/data/syntax/rest.xml" version="6"/>
<Definition name="Ruby/Rails/RHTML" url="https://kate-editor.org/syntax/data/syntax/rhtml.xml" version="9"/>
<Definition name="Rust" url="https://kate-editor.org/syntax/data/syntax/rust.xml" version="8"/>
<Definition name="Scheme" url="https://kate-editor.org/syntax/data/syntax/scheme.xml" version="6"/>
<Definition name="SELinux CIL Policy" url="https://kate-editor.org/syntax/data/syntax/selinux-cil.xml" version="5"/>
<Definition name="SELinux File Contexts" url="https://kate-editor.org/syntax/data/syntax/selinux-fc.xml" version="6"/>
<Definition name="SELinux Policy" url="https://kate-editor.org/syntax/data/syntax/selinux.xml" version="4"/>
......@@ -159,7 +159,7 @@
<Definition name="XML (Debug)" url="https://kate-editor.org/syntax/data/syntax/xmldebug.xml" version="9"/>
<Definition name="Xonotic Script" url="https://kate-editor.org/syntax/data/syntax/xonotic-console.xml" version="3"/>
<Definition name="xslt" url="https://kate-editor.org/syntax/data/syntax/xslt.xml" version="4"/>
<Definition name="XUL" url="https://kate-editor.org/syntax/data/syntax/xul.xml" version="5"/>
<Definition name="XUL" url="https://kate-editor.org/syntax/data/syntax/xul.xml" version="6"/>
<Definition name="Yacc/Bison" url="https://kate-editor.org/syntax/data/syntax/yacc.xml" version="6"/>
<Definition name="YAML" url="https://kate-editor.org/syntax/data/syntax/yaml.xml" version="7"/>
<Definition name="YARA" url="https://kate-editor.org/syntax/data/syntax/yara.xml" version="2"/>
......
......@@ -6,7 +6,6 @@
<Definition name="Adblock Plus" url="https://kate-editor.org/syntax/data/syntax/adblock.xml" version="1"/>
<Definition name="Agda" url="https://kate-editor.org/syntax/data/syntax/agda.xml" version="6"/>
<Definition name="AHDL" url="https://kate-editor.org/syntax/data/syntax/ahdl.xml" version="3"/>
<Definition name="AutoHotKey" url="https://kate-editor.org/syntax/data/syntax/ahk.xml" version="3"/>
<Definition name="Alerts" url="https://kate-editor.org/syntax/data/syntax/alert.xml" version="5"/>
<Definition name="ANS-Forth94" url="https://kate-editor.org/syntax/data/syntax/ansforth94.xml" version="4"/>
<Definition name="ANSI C89" url="https://kate-editor.org/syntax/data/syntax/ansic89.xml" version="5"/>
......@@ -20,10 +19,10 @@
<Definition name="Asm6502" url="https://kate-editor.org/syntax/data/syntax/asm6502.xml" version="3"/>
<Definition name="ASP" url="https://kate-editor.org/syntax/data/syntax/asp.xml" version="4"/>
<Definition name="AWK" url="https://kate-editor.org/syntax/data/syntax/awk.xml" version="3"/>
<Definition name="Bash" url="https://kate-editor.org/syntax/data/syntax/bash.xml" version="10"/>
<Definition name="Bash" url="https://kate-editor.org/syntax/data/syntax/bash.xml" version="11"/>
<Definition name="BibTeX" url="https://kate-editor.org/syntax/data/syntax/bibtex.xml" version="2"/>
<Definition name="B-Method" url="https://kate-editor.org/syntax/data/syntax/bmethod.xml" version="1"/>
<Definition name="Boo" url="https://kate-editor.org/syntax/data/syntax/boo.xml" version="3"/>
<Definition name="Boo" url="https://kate-editor.org/syntax/data/syntax/boo.xml" version="4"/>
<Definition name="BrightScript" url="https://kate-editor.org/syntax/data/syntax/brightscript.xml" version="5"/>
<Definition name="C" url="https://kate-editor.org/syntax/data/syntax/c.xml" version="9"/>
<Definition name="CartoCSS" url="https://kate-editor.org/syntax/data/syntax/carto-css.xml" version="2"/>
......@@ -44,17 +43,17 @@
<Definition name="CUE Sheet" url="https://kate-editor.org/syntax/data/syntax/cue.xml" version="1"/>
<Definition name="Curry" url="https://kate-editor.org/syntax/data/syntax/curry.xml" version="1"/>
<Definition name="D" url="https://kate-editor.org/syntax/data/syntax/d.xml" version="5"/>
<Definition name="Debian Control" url="https://kate-editor.org/syntax/data/syntax/debiancontrol.xml" version="1"/>
<Definition name="Debian Control" url="https://kate-editor.org/syntax/data/syntax/debiancontrol.xml" version="2"/>
<Definition name="Diff" url="https://kate-editor.org/syntax/data/syntax/diff.xml" version="5"/>
<Definition name="Django HTML Template" url="https://kate-editor.org/syntax/data/syntax/djangotemplate.xml" version="4"/>
<Definition name="MS-DOS Batch" url="https://kate-editor.org/syntax/data/syntax/dosbat.xml" version="3"/>
<Definition name="dot" url="https://kate-editor.org/syntax/data/syntax/dot.xml" version="3"/>
<Definition name="Doxyfile" url="https://kate-editor.org/syntax/data/syntax/doxyfile.xml" version="2"/>
<Definition name="Doxygen" url="https://kate-editor.org/syntax/data/syntax/doxygen.xml" version="6"/>
<Definition name="DoxygenLua" url="https://kate-editor.org/syntax/data/syntax/doxygenlua.xml" version="7"/>
<Definition name="Doxygen" url="https://kate-editor.org/syntax/data/syntax/doxygen.xml" version="7"/>
<Definition name="DoxygenLua" url="https://kate-editor.org/syntax/data/syntax/doxygenlua.xml" version="8"/>