You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/runtime/queries/gleam/textobjects.scm

12 lines
346 B
Scheme

(function
parameters: (function_parameters (function_parameter)? @parameter.inside)
body: (function_body) @function.inside) @function.around
(anonymous_function
body: (function_body) @function.inside) @function.around
((function
name: (identifier) @_name
body: (function_body) @test.inside) @test.around
(#match? @_name "_test$"))