From 68d8f4c02e4e0ed288a296607cc0abe2d3a01ab9 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Wed, 16 Sep 2020 18:59:37 -0500 Subject: Remove @definition.doc captures These aren't really definitions and are being show in the definitions list. We aren't using them at the moment, we could use another group or query file. --- queries/python/locals.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'queries/python') diff --git a/queries/python/locals.scm b/queries/python/locals.scm index 422e386cd..bc21637bb 100644 --- a/queries/python/locals.scm +++ b/queries/python/locals.scm @@ -45,8 +45,7 @@ ; Function defines function and scope ((function_definition - name: (identifier) @definition.function - body: (block (expression_statement (string) @definition.doc)?)) @scope + name: (identifier) @definition.function) @scope (#set! definition.function.scope "parent")) -- cgit v1.2.3-70-g09d2