summaryrefslogtreecommitdiff
path: root/vendor/queries/bash/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/queries/bash/textobjects.scm')
-rw-r--r--vendor/queries/bash/textobjects.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/queries/bash/textobjects.scm b/vendor/queries/bash/textobjects.scm
new file mode 100644
index 00000000..8e7ad4f9
--- /dev/null
+++ b/vendor/queries/bash/textobjects.scm
@@ -0,0 +1,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)