aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/wren/textobjects.scm
diff options
context:
space:
mode:
authorJummit2023-07-28 16:13:51 +0000
committerGitHub2023-07-28 16:13:51 +0000
commit9a4890f62bd907a37ee79e1a3690c75fc80e9724 (patch)
tree6cc0b84f4c79477702c4abca02fe0279cf049043 /runtime/queries/wren/textobjects.scm
parentd6856cfeec14305b3405a6aee90c73c80b41e48f (diff)
Add wren support (#7765)
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