use entity.name.function in coffeescript classes
This commit is contained in:
parent
f5a5e70507
commit
3cf5846f5e
2 changed files with 2 additions and 5 deletions
|
|
@ -58,8 +58,8 @@ define(function(require, exports, module) {
|
|||
token : "variable",
|
||||
regex : "@" + identifier
|
||||
}, {
|
||||
token : "label",
|
||||
regex : identifier + ":"
|
||||
token : "entity.name.function",
|
||||
regex : identifier + "(?=\\s*:\\s*(?:\\(.*?\\)\\s*)?->)"
|
||||
}, {
|
||||
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)"
|
||||
|
|
|
|||
|
|
@ -183,9 +183,6 @@ color:#5F5A60;\
|
|||
.ace-twilight .ace_variable {\
|
||||
color:#7587A6;\
|
||||
}\
|
||||
.ace-twilight .ace_label {\
|
||||
color:#AC885B;\
|
||||
}\
|
||||
\
|
||||
.ace-twilight .ace_variable.ace_language {\
|
||||
\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue