Python highlights: Surround type subscript query with (type ...)

This commit is contained in:
Stephan Seitz 2020-07-09 09:36:05 +02:00
parent 3faaeb479b
commit fe79de76ea

View file

@ -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