red highlight of reserved keywords is too bright

This commit is contained in:
nightwing 2012-11-08 22:16:19 +04:00
commit f6e961ed75

View file

@ -49,17 +49,15 @@ var JavaScriptHighlightRules = function() {
"isNaN|parseFloat|parseInt|" +
"JSON|Math|" + // Other
"this|arguments|prototype|window|document" , // Pseudo
"invalid.deprecated":
"__parent__|__count__|escape|unescape|with|__proto__",
"keyword":
"const|yield|import|get|set|" +
"break|case|catch|continue|default|delete|do|else|finally|for|function|" +
"if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger",
"if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
// invalid or reserved
"__parent__|__count__|escape|unescape|with|__proto__|" +
"class|enum|extends|super|export|implements|private|public|interface|package|protected|static",
"storage.type":
"const|let|var|function",
"invalid.illegal":
"class|enum|extends|super|export|implements|private|" +
"public|interface|package|protected|static",
"constant.language":
"null|Infinity|NaN|undefined",
"support.function":