diff options
| author | rockerBOO <rockerboo@gmail.com> | 2020-11-21 11:48:58 -0500 |
|---|---|---|
| committer | Kiyan <yazdani.kiyan@protonmail.com> | 2020-11-22 16:59:58 +0100 |
| commit | e59a789289e77aa95385d0029383abea44e6e611 (patch) | |
| tree | e7dd18d851a5b4de7a26eba2735f58c4b66f93df /queries | |
| parent | 6731bcbf7b69501746f1c98bd471695b83c59754 (diff) | |
typescript: Add optional_parameter ?
Diffstat (limited to 'queries')
| -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 66be1399..ace1b49a 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 2d689874..665bab44 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 |
