aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorMichael Davis2022-06-03 14:31:45 +0000
committerBlaž Hrastnik2022-06-07 11:03:31 +0000
commitf7a3d357527ab30970c8da9a8ebea9e0df88329b (patch)
tree2e0a83c9606dc4fe1fecd7ac7d2028e05bac4d76 /runtime
parentbcafdf404fe22f61c9d2f0d883a6654a8a9b3ca3 (diff)
add textobject queries for gleam
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