mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(typescript): highlight awaited functions with type parameters
This commit is contained in:
parent
b39070f94d
commit
6402fcb1e0
1 changed files with 12 additions and 0 deletions
|
|
@ -113,6 +113,18 @@
|
|||
(private_property_identifier)
|
||||
] @function.method.call))
|
||||
|
||||
(call_expression
|
||||
function: (await_expression
|
||||
(identifier) @function.call))
|
||||
|
||||
(call_expression
|
||||
function: (await_expression
|
||||
(member_expression
|
||||
property: [
|
||||
(property_identifier)
|
||||
(private_property_identifier)
|
||||
] @function.method.call)))
|
||||
|
||||
; Builtins
|
||||
;---------
|
||||
((identifier) @module.builtin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue