Merge pull request #411 from defunkt/more-coffee-colors

Coffee: Highlight `property:` and `@property`
This commit is contained in:
Fabian Jakobs 2011-09-06 01:15:22 -07:00
commit b5808745c0
2 changed files with 10 additions and 1 deletions

View file

@ -53,7 +53,13 @@ define(function(require, exports, module) {
start : [
{
token : "identifier",
regex : "(?:@|(?:\\.|::)\\s*)" + identifier
regex : "(?:(?:\\.|::)\\s*)" + identifier
}, {
token : "variable",
regex : "@" + identifier
}, {
token : "label",
regex : identifier + ":"
}, {
token : "keyword",
regex : "(?:t(?:h(?:is|row|en)|ry|ypeof)|s(?:uper|witch)|return|b(?:reak|y)|c(?:ontinue|atch|lass)|i(?:n(?:stanceof)?|s(?:nt)?|f)|e(?:lse|xtends)|f(?:or (?:own)?|inally|unction)|wh(?:ile|en)|n(?:ew|ot?)|d(?:e(?:lete|bugger)|o)|loop|o(?:ff?|[rn])|un(?:less|til)|and|yes)"

View file

@ -183,6 +183,9 @@ color:#5F5A60;\
.ace-twilight .ace_variable {\
color:#7587A6;\
}\
.ace-twilight .ace_label {\
color:#AC885B;\
}\
\
.ace-twilight .ace_variable.ace_language {\
\