1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00
helix/runtime/queries/bash/textobjects.scm
Petr Gajdůšek 7af37bb3b9
Add tree-sitter textobjects queries for bash (#7764)
This implements function, (calling) argument and comment captures for use
in the textobject selections in bash.

This also updates the generated docs after adding the textobjects for bash.
2023-08-08 03:27:35 +09:00

10 lines
168 B
Scheme

(function_definition
body: (_) @function.inside) @function.around
(command
argument: (_) @parameter.inside)
(comment) @comment.inside
(comment)+ @comment.around