aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/gleam/textobjects.scm
blob: 19cd0dcf99da54ad0da7f96b95b6c5aeef63e361 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
(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$"))