mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
weird, why isn't for a keyword?
This commit is contained in:
2
vendor/ace/mode/coffee_highlight_rules.js
vendored
2
vendor/ace/mode/coffee_highlight_rules.js
vendored
@@ -62,7 +62,7 @@ define(function(require, exports, module) {
|
||||
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)"
|
||||
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|for|o(?:ff?|[rn])|un(?:less|til)|and|yes)"
|
||||
+ keywordend
|
||||
}, {
|
||||
token : "constant.language",
|
||||
|
||||
Reference in New Issue
Block a user