mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
typescript: Add optional_parameter ?
This commit is contained in:
parent
6731bcbf7b
commit
e59a789289
2 changed files with 3 additions and 2 deletions
|
|
@ -144,6 +144,7 @@
|
|||
(template_substitution
|
||||
"${" @punctuation.special
|
||||
"}" @punctuation.special) @embedded
|
||||
|
||||
"..." @punctuation.special
|
||||
|
||||
";" @punctuation.delimiter
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@
|
|||
|
||||
(unary_expression) @punctuation.special
|
||||
|
||||
(property_signature
|
||||
"?" @punctuation.special)
|
||||
(property_signature "?" @punctuation.special)
|
||||
(optional_parameter "?" @punctuation.special)
|
||||
|
||||
; Variables
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue