aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/locals.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python/locals.scm')
-rw-r--r--queries/python/locals.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/python/locals.scm b/queries/python/locals.scm
index 763d1b77d..bc33d306b 100644
--- a/queries/python/locals.scm
+++ b/queries/python/locals.scm
@@ -18,6 +18,12 @@
(function_definition
name: (identifier) @definition.function) @scope
+;; Should be extended to when syntax supported
+;(function_definition
+ ;name: (identifier) @definition.function
+ ;body: (block (expression_statement (string) @definition.function.doc)?)) @scope
+
+
(class_definition
name: (identifier) @definition.type) @scope