summaryrefslogtreecommitdiff
path: root/runtime/queries/nix/textobjects.scm
blob: 1508d4c2b79dcdb0e09d00a55b052960085ac467 (plain) (blame)
1
2
3
4
5
6
7
8
9
(comment) @comment.inside
(comment)+ @comment.around

(formals
  ((_) @parameter.inside . ","? @parameter.around) @parameter.around)

(function_expression
  body: (_) @function.inside) @function.around