diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-19 22:31:56 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-19 22:31:56 -0500 |
commit | bf94fa1cd02da4ac25a710440fc62170b5609e75 (patch) | |
tree | fab22c47297eec7df79885a6392468a6453c78e6 /kate/data/coffee.xml | |
parent | a151a4d477b5f9948ada98155ea9bcca7973748f (diff) | |
download | tdelibs-bf94fa1cd02da4ac25a710440fc62170b5609e75.tar.gz tdelibs-bf94fa1cd02da4ac25a710440fc62170b5609e75.zip |
Update kate syntax highlighting files.
The cpp.xml now contains some TQ highlighting.
Diffstat (limited to 'kate/data/coffee.xml')
-rw-r--r-- | kate/data/coffee.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/data/coffee.xml b/kate/data/coffee.xml index b56386a7a..1401946e7 100644 --- a/kate/data/coffee.xml +++ b/kate/data/coffee.xml @@ -2,7 +2,7 @@ <!DOCTYPE language SYSTEM "language.dtd"> <language name="CoffeeScript" - version="1.2" + version="1.3" kateversion="2.4" section="Scripts" extensions="Cakefile;*.coffee;*.coco" @@ -154,11 +154,11 @@ <keyword attribute="Browser Globals" context="#stay" String="browser_globals"/> <keyword attribute="Node.js Globals" context="#stay" String="nodejs_globals"/> <!-- Member accessors. --> - <RegExpr attribute="Accessor" context="#stay" String="(@[_$a-zA-Z][$\w]+|\bthis)\b" insensitive="false"/> + <RegExpr attribute="Accessor" context="#stay" String="(@[_$a-zA-Z][$\w]*|\bthis)\b" insensitive="false"/> <!-- Function definitions. Matches an optional argument list followed by a function arrow (normal or fat). --> <RegExpr attribute="Function" context="#stay" String="(\((\'[^']*'|"[^"]*"|[^()])*\))?\s*(-|=)>" insensitive="true"/> <!-- Generic identifiers. --> - <RegExpr attribute="Identifier" context="#stay" String="[_$a-z][$\w]+\b" insensitive="true"/> + <RegExpr attribute="Identifier" context="#stay" String="[_$a-z][$\w]*\b" insensitive="true"/> <!-- Strings. --> <StringDetect attribute="String" context="Heredoc" String="'''" beginRegion="Heredoc"/> <StringDetect attribute="String" context="Rich Heredoc" String=""""" beginRegion="Rich Heredoc"/> |