mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
Python highlights: Surround type subscript query with (type ...)
This commit is contained in:
parent
3faaeb479b
commit
fe79de76ea
1 changed files with 3 additions and 2 deletions
|
|
@ -49,8 +49,9 @@
|
|||
name: (identifier) @function)
|
||||
|
||||
(type (identifier) @type)
|
||||
(subscript
|
||||
(identifier) @type) ; type subscript: Tuple[int]
|
||||
(type
|
||||
(subscript
|
||||
(identifier) @type)) ; type subscript: Tuple[int]
|
||||
|
||||
((call
|
||||
function: (identifier) @isinstance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue