Add indents for php

This commit is contained in:
shirasaka 2021-03-19 11:16:02 +09:00 committed by Kiyan
parent bdbae28b24
commit 71e3391a8c
2 changed files with 34 additions and 7 deletions

23
queries/php/indents.scm Normal file
View file

@ -0,0 +1,23 @@
[
(array_creation_expression)
(arguments)
(formal_parameters)
(compound_statement)
(declaration_list)
(binary_expression)
(return_statement)
(expression_statement)
] @indent
[
"("
")"
"{"
"}"
"["
"]"
] @branch
[
(comment)
] @ignore