aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/php/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/php/indents.scm')
-rw-r--r--runtime/queries/php/indents.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/queries/php/indents.scm b/runtime/queries/php/indents.scm
new file mode 100644
index 00000000..b22393ed
--- /dev/null
+++ b/runtime/queries/php/indents.scm
@@ -0,0 +1,17 @@
+[
+ (array_creation_expression)
+ (arguments)
+ (formal_parameters)
+ (compound_statement)
+ (declaration_list)
+ (binary_expression)
+ (return_statement)
+ (expression_statement)
+ (switch_block)
+ (anonymous_function_use_clause)
+] @indent
+
+[
+ "}"
+ ")"
+] @outdent