summaryrefslogtreecommitdiff
path: root/vendor/queries/bash/textobjects.scm
blob: 8e7ad4f9fc99192fc9f8bcbe28ed2d6e0117e92b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; Vendored from helix (https://github.com/helix-editor/helix) at 278b24389:
; runtime/queries/bash/textobjects.scm.
; Licensed under the Mozilla Public License 2.0 (vendor/queries/helix.LICENSE,
; https://mozilla.org/MPL/2.0/).

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

(command
  argument: (_) @parameter.inside)

(comment) @comment.inside

(comment)+ @comment.around

(array
  (_) @entry.around)