From c361d65113168b9c3318b921130606c57e961fda Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Thu, 9 Jul 2020 09:36:05 +0200 Subject: Python highlights: Surround type subscript query with (type ...) --- queries/python/highlights.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'queries/python') diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 9369d7877..c1e6bf1d7 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -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 -- cgit v1.2.3-70-g09d2