diff options
| -rw-r--r-- | queries/javascript/highlights.scm | 1 | ||||
| -rw-r--r-- | queries/typescript/highlights.scm | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/queries/javascript/highlights.scm b/queries/javascript/highlights.scm index 66be13997..ace1b49a0 100644 --- a/queries/javascript/highlights.scm +++ b/queries/javascript/highlights.scm @@ -144,6 +144,7 @@ (template_substitution "${" @punctuation.special "}" @punctuation.special) @embedded + "..." @punctuation.special ";" @punctuation.delimiter diff --git a/queries/typescript/highlights.scm b/queries/typescript/highlights.scm index 2d689874c..665bab44a 100644 --- a/queries/typescript/highlights.scm +++ b/queries/typescript/highlights.scm @@ -41,8 +41,8 @@ (unary_expression) @punctuation.special -(property_signature - "?" @punctuation.special) +(property_signature "?" @punctuation.special) +(optional_parameter "?" @punctuation.special) ; Variables |
