summaryrefslogtreecommitdiff
path: root/queries/python
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-07-08 17:47:39 +0200
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-07-08 17:47:44 +0200
commit0e80b89935ca0a0249d04ca1cda56d7b50a239e3 (patch)
treedc4b45aa5f037ac8f6e8fe6d4c9236f3972fb37b /queries/python
parentdc324e44ad6ffc0f2089549afa6ba0fa2ba2f7f6 (diff)
Highlight complete type definition
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index b41d3689..9369d787 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