aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/php
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/php')
-rw-r--r--runtime/queries/php/indents.scm17
-rw-r--r--runtime/queries/php/indents.toml17
2 files changed, 17 insertions, 17 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
diff --git a/runtime/queries/php/indents.toml b/runtime/queries/php/indents.toml
deleted file mode 100644
index 85c104db..00000000
--- a/runtime/queries/php/indents.toml
+++ /dev/null
@@ -1,17 +0,0 @@
-indent = [
- "array_creation_expression",
- "arguments",
- "formal_parameters",
- "compound_statement",
- "declaration_list",
- "binary_expression",
- "return_statement",
- "expression_statement",
- "switch_block",
- "anonymous_function_use_clause",
-]
-
-oudent = [
- "}",
- ")",
-]