summaryrefslogtreecommitdiffstats
path: root/kate/data/tcsh.xml
diff options
context:
space:
mode:
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 a401c5d93..e1d1bca48 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>