summaryrefslogtreecommitdiff
path: root/runtime/queries/wren/textobjects.scm
diff options
context:
space:
mode:
authorJummit2023-08-04 14:25:36 +0000
committerGitHub2023-08-04 14:25:36 +0000
commitf19793c2f86dea8e7af8570563e2dd5a8da9fefb (patch)
tree02a604c37fecc0859d17e065d69cbc558ffb25a3 /runtime/queries/wren/textobjects.scm
parent5a51036bc1e0b5b0bffa599dd2caf171d6924546 (diff)
Improve wren support (#7819)
Diffstat (limited to 'runtime/queries/wren/textobjects.scm')
-rw-r--r--runtime/queries/wren/textobjects.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/wren/textobjects.scm b/runtime/queries/wren/textobjects.scm
index 24898124..486b5b48 100644
--- a/runtime/queries/wren/textobjects.scm
+++ b/runtime/queries/wren/textobjects.scm
@@ -1,6 +1,10 @@
(class_definition
(class_body) @class.inside) @class.around
+(call_expression
+ (call_body
+ (_) @function.inside) @function.around)
+
(method_definition
body: (_) @function.inside) @function.around