aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/wren/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/wren/textobjects.scm')
-rw-r--r--runtime/queries/wren/textobjects.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/queries/wren/textobjects.scm b/runtime/queries/wren/textobjects.scm
new file mode 100644
index 00000000..24898124
--- /dev/null
+++ b/runtime/queries/wren/textobjects.scm
@@ -0,0 +1,12 @@
+(class_definition
+ (class_body) @class.inside) @class.around
+
+(method_definition
+ body: (_) @function.inside) @function.around
+
+(parameter_list
+ ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
+
+(comment) @comment.inside
+
+(comment)+ @comment.around