diff options
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"/> |