diff options
| author | delphinus <me@delphinus.dev> | 2020-12-20 21:49:41 +0900 |
|---|---|---|
| committer | Kiyan <yazdani.kiyan@protonmail.com> | 2020-12-21 08:55:04 +0100 |
| commit | 0fc8ea00356ac0b977c0caf14059235aeebe488c (patch) | |
| tree | b5ec9ca6a8db29849dc6b4466d2556b82e862e6b /queries/javascript/highlights.scm | |
| parent | 29782ebdaac2980fa526fc6bb77b24cc32ce87fc (diff) | |
Add lacked Javascript operators
Diffstat (limited to 'queries/javascript/highlights.scm')
| -rw-r--r-- | queries/javascript/highlights.scm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/queries/javascript/highlights.scm b/queries/javascript/highlights.scm index cc073daf..15d3361a 100644 --- a/queries/javascript/highlights.scm +++ b/queries/javascript/highlights.scm @@ -151,6 +151,7 @@ ";" @punctuation.delimiter "." @punctuation.delimiter "," @punctuation.delimiter +"?." @punctuation.delimiter (pair ":" @punctuation.delimiter) @@ -181,6 +182,21 @@ "||" "%" "%=" + "*" + "**" + ">>>" + "&" + "|" + "^" + "??" + "*=" + ">>=" + ">>>=" + "^=" + "|=" + "&&=" + "||=" + "??=" ] @operator (binary_expression "/" @operator) |
