aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python/textobjects.scm')
-rw-r--r--queries/python/textobjects.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/python/textobjects.scm b/queries/python/textobjects.scm
new file mode 100644
index 000000000..4c030df7c
--- /dev/null
+++ b/queries/python/textobjects.scm
@@ -0,0 +1,3 @@
+
+(function_definition
+ body: (block)? @function.inner) @function.outer