Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/bash/rainbows.scm')
-rw-r--r--runtime/queries/bash/rainbows.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/runtime/queries/bash/rainbows.scm b/runtime/queries/bash/rainbows.scm
new file mode 100644
index 00000000..422e2fbd
--- /dev/null
+++ b/runtime/queries/bash/rainbows.scm
@@ -0,0 +1,20 @@
+[
+ (function_definition)
+ (compound_statement)
+ (subshell)
+ (test_command)
+ (subscript)
+ (parenthesized_expression)
+ (array)
+ (expansion)
+ (command_substitution)
+] @rainbow.scope
+
+[
+ "(" ")"
+ "((" "))"
+ "${" "$("
+ "{" "}"
+ "[" "]"
+ "[[" "]]"
+] @rainbow.bracket