summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/bash/textobjects.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/bash/textobjects.scm b/runtime/queries/bash/textobjects.scm
new file mode 100644
index 00000000..59983b30
--- /dev/null
+++ b/runtime/queries/bash/textobjects.scm
@@ -0,0 +1,9 @@
+(function_definition
+ body: (_) @function.inside) @function.around
+
+(command
+ argument: (_) @parameter.inside)
+
+(comment) @comment.inside
+
+(comment)+ @comment.around