From 996cbca3a9c5322ca821b1992951328ebed76e94 Mon Sep 17 00:00:00 2001 From: Asger Hallas Date: Thu, 1 Sep 2011 14:02:13 +0200 Subject: [PATCH] support @ in class names in class definitions when defining classes in modules like described here https://github.com/jashkenas/coffee-script/wiki/Easy-modules-with-coffeescript --- Syntaxes/CoffeeScript.tmLanguage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/CoffeeScript.tmLanguage b/Syntaxes/CoffeeScript.tmLanguage index e72aa2f..321d60e 100644 --- a/Syntaxes/CoffeeScript.tmLanguage +++ b/Syntaxes/CoffeeScript.tmLanguage @@ -387,7 +387,7 @@ match - (class\b)\s+([a-zA-Z\$_][\w\.]+)?(?:\s+(extends)\s+([a-zA-Z\$\._][\w\.]*))? + (class\b)\s+([a-zA-Z\$_@][\w\.]+)?(?:\s+(extends)\s+([a-zA-Z\$\._][\w\.]*))? name meta.class.coffee