aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/perl/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/perl/textobjects.scm')
-rw-r--r--runtime/queries/perl/textobjects.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/queries/perl/textobjects.scm b/runtime/queries/perl/textobjects.scm
new file mode 100644
index 00000000..988e22b4
--- /dev/null
+++ b/runtime/queries/perl/textobjects.scm
@@ -0,0 +1,8 @@
+(function_definition
+ (identifier) (_) @function.inside) @function.around
+
+(anonymous_function
+ (_) @function.inside) @function.around
+
+(argument
+ (_) @parameter.inside)