helix/runtime/queries/gleam/textobjects.scm
2024-09-13 13:28:20 -05:00

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$"))