mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -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
|
(template_substitution
|
||||||
"${" @punctuation.special
|
"${" @punctuation.special
|
||||||
"}" @punctuation.special) @embedded
|
"}" @punctuation.special) @embedded
|
||||||
|
|
||||||
"..." @punctuation.special
|
"..." @punctuation.special
|
||||||
|
|
||||||
";" @punctuation.delimiter
|
";" @punctuation.delimiter
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,8 @@
|
||||||
|
|
||||||
(unary_expression) @punctuation.special
|
(unary_expression) @punctuation.special
|
||||||
|
|
||||||
(property_signature
|
(property_signature "?" @punctuation.special)
|
||||||
"?" @punctuation.special)
|
(optional_parameter "?" @punctuation.special)
|
||||||
|
|
||||||
; Variables
|
; Variables
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue