Merge pull request #421 from steelsojka/add-missing-js-ops

fix(highlights): add missing js operators
This commit is contained in:
Steven Sojka 2020-09-10 10:09:46 -05:00 committed by GitHub
commit 649fe1a842
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,23 +113,36 @@
"." @punctuation.delimiter "." @punctuation.delimiter
"," @punctuation.delimiter "," @punctuation.delimiter
"--" @operator [
"-" @operator "--"
"-=" @operator "-"
"&&" @operator "-="
"+" @operator "&&"
"++" @operator "+"
"+=" @operator "++"
"<" @operator "+="
"<<" @operator "&="
"=" @operator "/="
"==" @operator "**="
"===" @operator "<<="
"=>" @operator "<"
">" @operator "<="
">>" @operator "<<"
"||" @operator "="
"??" @operator "=="
"==="
"!="
"!=="
"=>"
">"
">="
">>"
"||"
"%"
"%="
] @operator
(ternary_expression ["?" ":"] @operator)
"(" @punctuation.bracket "(" @punctuation.bracket
")" @punctuation.bracket ")" @punctuation.bracket