mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(typescript): highlight is and : in type predicate
This commit is contained in:
parent
48f4f3ead1
commit
56022e0b05
1 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
|||
"satisfies"
|
||||
"module"
|
||||
"infer"
|
||||
"is"
|
||||
] @keyword
|
||||
|
||||
(as_expression "as" @keyword)
|
||||
|
|
@ -57,6 +58,9 @@
|
|||
(type_annotation
|
||||
":" @punctuation.delimiter)
|
||||
|
||||
(type_predicate_annotation
|
||||
":" @punctuation.delimiter)
|
||||
|
||||
(index_signature
|
||||
":" @punctuation.delimiter)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue