diff options
Diffstat (limited to 'queries/javascript/highlights.scm')
| -rw-r--r-- | queries/javascript/highlights.scm | 47 |
1 files changed, 30 insertions, 17 deletions
diff --git a/queries/javascript/highlights.scm b/queries/javascript/highlights.scm index 19ebd4484..03ffcb57f 100644 --- a/queries/javascript/highlights.scm +++ b/queries/javascript/highlights.scm @@ -113,23 +113,36 @@ "." @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 |
