aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/python/highlights.scm5
1 files changed, 3 insertions, 2 deletions
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