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