Match operators, (some keywords)

This commit is contained in:
Damon McMinn 2015-05-27 08:45:35 +01:00
parent baec5de598
commit f1776ffdb2

View file

@ -424,14 +424,14 @@
# 'match': '(?<!\\.)\\b(module|exports|__filename|__dirname|global|process)(?!\\s*:)\\b'
# 'name': 'support.variable.js'
# }
# {
# 'match': '!|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?|\\:|\\*=|(?<!\\()/=|%=|\\+=|\\-=|&=|\\^='
# 'name': 'keyword.operator.js'
# }
# {
# 'match': '\\b(Infinity|NaN|undefined)\\b'
# 'name': 'constant.language.js'
# }
{
'match': '!|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?|\\:|\\*=|(?<!\\()/=|%=|\\+=|\\-=|&=|\\^='
'name': 'keyword.operator.js'
}
{
'match': '\\b(Infinity|NaN|undefined)\\b'
'name': 'constant.language.js'
}
# {
# 'begin': '(?<=[\\[=(:+]|^|return|&&|\\|\\||!)\\s*(/)(?![/*+{}?])(?=.*/)'
# 'beginCaptures':