aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/gleam/textobjects.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/gleam/textobjects.scm b/runtime/queries/gleam/textobjects.scm
new file mode 100644
index 00000000..b382f4bd
--- /dev/null
+++ b/runtime/queries/gleam/textobjects.scm
@@ -0,0 +1,6 @@
+(function
+ parameters: (function_parameters (function_parameter)? @parameter.inside)
+ body: (function_body) @function.inside) @function.around
+
+(anonymous_function
+ body: (function_body) @function.inside) @function.around