aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/erlang/textobjects.scm
blob: c46b5c6f64c351b51d212913023906562d332d77 (plain) (blame)
1
2
3
4
5
6
7
8
(function_clause
  pattern: (arguments (_)? @parameter.inside)
  body: (_) @function.inside) @function.around

(anonymous_function
  (stab_clause body: (_) @function.inside)) @function.around

(comment (comment_content) @comment.inside) @comment.around