From 0e80b89935ca0a0249d04ca1cda56d7b50a239e3 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Wed, 8 Jul 2020 17:47:39 +0200 Subject: Highlight complete type definition --- queries/python/highlights.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index b41d36891..9369d7877 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -49,6 +49,8 @@ name: (identifier) @function) (type (identifier) @type) +(subscript + (identifier) @type) ; type subscript: Tuple[int] ((call function: (identifier) @isinstance -- cgit v1.2.3-70-g09d2