mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -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)
|
name: (identifier) @function)
|
||||||
|
|
||||||
(type (identifier) @type)
|
(type (identifier) @type)
|
||||||
(subscript
|
(type
|
||||||
(identifier) @type) ; type subscript: Tuple[int]
|
(subscript
|
||||||
|
(identifier) @type)) ; type subscript: Tuple[int]
|
||||||
|
|
||||||
((call
|
((call
|
||||||
function: (identifier) @isinstance
|
function: (identifier) @isinstance
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue