Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/php/rainbows.scm')
-rw-r--r--runtime/queries/php/rainbows.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/queries/php/rainbows.scm b/runtime/queries/php/rainbows.scm
new file mode 100644
index 00000000..49e3e883
--- /dev/null
+++ b/runtime/queries/php/rainbows.scm
@@ -0,0 +1,15 @@
+[
+ (declaration_list)
+ (compound_statement)
+ (array_creation_expression)
+ (subscript_expression)
+ (parenthesized_expression)
+ (formal_parameters)
+ (arguments)
+ (catch_clause)
+ (foreach_statement)
+ (switch_block)
+ (anonymous_function_use_clause)
+] @rainbow.scope
+
+["(" ")" "[" "]" "{" "}"] @rainbow.bracket