highlight arrow functions similar to functions

pull/355/head
nightwing 2016-08-28 07:12:35 +04:00
rodzic bfbdaa7529
commit 11c89b7012
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -171,6 +171,9 @@ var JavaScriptHighlightRules = function(options) {
token : "punctuation.operator",
regex : /[.](?![.])/,
next : "property"
}, {
token : "storage.type",
regex : /=>/
}, {
token : "keyword.operator",
regex : /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?\:|[!$%&*+\-~\/^]=?/,