diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2021-04-22 17:43:14 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-04-22 17:50:56 +0200 |
| commit | 9cfd3377e31fc28395187657430c60e25c0e23e5 (patch) | |
| tree | 8e56fcef8e02ee6e75cfff40ba29654edd977e83 /queries/ecma | |
| parent | 41ed83ffc762b611644a311e344b33d5efc01944 (diff) | |
fix(highlights): always highlight ternary operator as operator
Diffstat (limited to 'queries/ecma')
| -rw-r--r-- | queries/ecma/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/ecma/highlights.scm b/queries/ecma/highlights.scm index 7f98b998..d11fa670 100644 --- a/queries/ecma/highlights.scm +++ b/queries/ecma/highlights.scm @@ -205,7 +205,7 @@ ] @operator (binary_expression "/" @operator) -(ternary_expression ["?" ":"] @operator) +(ternary_expression ["?" ":"] @conditional) (unary_expression ["!" "~" "-" "+" "delete" "void" "typeof"] @operator) "(" @punctuation.bracket |
