summaryrefslogtreecommitdiffstats
path: root/kate/data/tcsh.xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-01-09 00:24:34 +0100
committerSlávek Banko <slavek.banko@axis.cz>2015-12-23 02:22:36 +0100
commit5529b46d246d14c973bc13fe30b414b9bec7f7c0 (patch)
tree2503f2ed35d65e6bbb2b4ab1b280b0c7ce6a0ca1 /kate/data/tcsh.xml
parenta929e576b23f51fef432252e0b70a24fd00b1ee6 (diff)
downloadtdelibs-5529b46d246d14c973bc13fe30b414b9bec7f7c0.tar.gz
tdelibs-5529b46d246d14c973bc13fe30b414b9bec7f7c0.zip
Update kate syntax highlight files
(cherry picked from commit bf4e405e03859bf383f55715944f4f71bd338c34)
Diffstat (limited to 'kate/data/tcsh.xml')
-rw-r--r--kate/data/tcsh.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/kate/data/tcsh.xml b/kate/data/tcsh.xml
index 1275db3c3..94006371e 100644
--- a/kate/data/tcsh.xml
+++ b/kate/data/tcsh.xml
@@ -8,7 +8,7 @@
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
<!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )"> <!-- valid character in a file name -->
]>
-<language name="Tcsh" version="0.1" kateversion="2.4" section="Scripts" extensions="*.csh;*.tcsh;csh.cshrc;csh.login;.tcshrc;.cshrc;.login" mimetype="application/x-csh" casesensitive="1" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="LGPL">
+<language name="Tcsh" version="0.3" kateversion="2.5" section="Scripts" extensions="*.csh;*.tcsh;csh.cshrc;csh.login;.tcshrc;.cshrc;.login" mimetype="application/x-csh" casesensitive="1" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="LGPL">
<!-- (c) 2006 Matthew Woehlke (mw_triad@users.sourceforge.net)
Based on the bash highlighter by Wilbert Berendsen (wilbert@kde.nl)
@@ -523,8 +523,8 @@
<RegExpr attribute="Option" context="#stay" String="-[A-Za-z0-9][A-Za-z0-9_]*" />
<RegExpr attribute="Option" context="#stay" String="--[a-z][A-Za-z0-9_-]*" />
<!-- handle variable assignments -->
-<!--R--><RegExpr attribute="Keyword" context="Cmd@" String="\b@\s" />
-<!--R--><RegExpr attribute="Keyword" context="CmdSet" String="\bset\s" />
+<!--R--><RegExpr attribute="Keyword" context="#stay" String="\b@\s" />
+<!--R--><RegExpr attribute="Keyword" context="#stay" String="\bset\s" />
<RegExpr attribute="Keyword" context="CmdSetEnv" String="\bsetenv\s" />
<!-- handle functions with function keyword before keywords -->
<!--!--><StringDetect attribute="Function" context="#stay" String=":()" />
@@ -583,8 +583,8 @@
<RegExpr attribute="Expression" context="#stay" String="-[rwxXeozsfdlbcpSugktRLDIFNZ](?=\s)"/>
<RegExpr attribute="Expression" context="#stay" String="-[AMCUG]:?(?=\s)"/>
<RegExpr attribute="Expression" context="#stay" String="-P[0-7]{,3}:?(?=\s)"/>
- <RegExpr attribute="Expression" context="#stay" String="([|&amp;=&gt;&lt;)\1"/>
- <RegExpr attribute="Expression" context="#stay" String="[|^&amp;&gt;&lt;+-*/%!~]"/>
+ <RegExpr attribute="Expression" context="#stay" String="([|&amp;=&gt;&lt;])\1"/>
+ <RegExpr attribute="Expression" context="#stay" String="[|^&amp;&gt;&lt;+\-*/%!~]"/>
<RegExpr attribute="Expression" context="#stay" String="([!=]~|[!&gt;&lt;]=)"/>
</context>