summaryrefslogtreecommitdiffstats
path: root/kate/data/r.xml
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2015-10-25 20:12:45 +0800
committerMichele Calgaro <[email protected]>2015-10-25 20:26:12 +0800
commit36e8000863322e5367dafa398b228a72502030a4 (patch)
tree130c6f67f85401148e1c2838b01fd9a4e8b74223 /kate/data/r.xml
parent48c3adf7bda38f19bd5c4a1a58348ae91bc82bf8 (diff)
downloadtdelibs-36e8000863322e5367dafa398b228a72502030a4.tar.gz
tdelibs-36e8000863322e5367dafa398b228a72502030a4.zip
Kate syntax highlighting files update - Oct 2015
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit dd1a8d0d1a40f43040555128913e55202f241270)
Diffstat (limited to 'kate/data/r.xml')
-rw-r--r--kate/data/r.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/kate/data/r.xml b/kate/data/r.xml
index 8213d5b4a..9a5ef8168 100644
--- a/kate/data/r.xml
+++ b/kate/data/r.xml
@@ -7,7 +7,7 @@
R : http://www.r-project.org/
RKWard : http://rkward.sourceforge.net/
-->
-<language version="2.07-1" kateversion="2.3" name="R Script" section="Scripts" extensions="*.R;*.r;*.S;*.s;*.q" mimetype="" license="GPL">
+<language version="2.08-1" kateversion="2.3" name="R Script" section="Scripts" extensions="*.R;*.r;*.S;*.s;*.q" mimetype="" license="GPL">
<highlighting>
<list name="controls">
@@ -43,7 +43,7 @@
<DetectChar attribute="Error" context="#stay" char="}" />
<DetectChar attribute="Error" context="#stay" char=")"/>
</context>
-
+
<context attribute="Normal Text" lineEndContext="#stay" name="ctx0">
<IncludeRules context="CommonRules"/>
@@ -65,12 +65,12 @@
<DetectChar attribute="String" context="#pop" char="&quot;"/>
<HlCStringChar attribute="String Char" context="#stay"/>
</context>
-
+
<context attribute="String" lineEndContext="#stay" name="string2">
<DetectChar attribute="String" context="#pop" char="'"/>
<HlCStringChar attribute="String Char" context="#stay"/>
</context>
-
+
<context attribute="Identifier" lineEndContext="#stay" name="backquotedsymbol">
<DetectChar attribute="String" context="#pop" char="`"/>
<HlCStringChar attribute="String Char" context="#stay"/>
@@ -85,8 +85,12 @@
<RegExpr attribute="Error" context="#stay" String="(\*|/|&lt;|&gt;|\!=|=|\||&amp;|:|\^|@|\$|~)"/>
</context>
- <context attribute="Headline" lineEndContext="#pop" name="Headline"/>
- <context attribute="Comment" lineEndContext="#pop" name="Comment"/>
+ <context attribute="Headline" lineEndContext="#pop" name="Headline">
+ <IncludeRules context="##Alerts" />
+ </context>
+ <context attribute="Comment" lineEndContext="#pop" name="Comment">
+ <IncludeRules context="##Alerts" />
+ </context>
<!-- This context is not really used, but contains the common rules -->
<context name="CommonRules" lineEndContext="#stay" attribute="Normal Text" >
@@ -109,7 +113,7 @@
<RegExpr attribute="Assign" context="operator_rhs" String="=(?!=)"/>
<RegExpr attribute="Operator" context="operator_rhs" String="(\+|\-|\*{1,2}|/|&lt;=?|&gt;=?|={1,2}|\!=?|\|{1,2}|&amp;{1,2}|:{1,3}|\^|@|\$|~)"/>
<RegExpr attribute="Operator" context="operator_rhs" String="%[^%]*%"/>
-
+
<DetectChar attribute="Symbol" context="ctx0" char="{" beginRegion="Brace1" />
<!-- This is needed only to assist variable based indentation -->