Add indents definition based on the one from nvim-treesitter
This commit is contained in:
parent
924b7d3b19
commit
9e247bf6ee
1 changed files with 17 additions and 0 deletions
17
runtime/queries/php/indents.toml
Normal file
17
runtime/queries/php/indents.toml
Normal file
|
@ -0,0 +1,17 @@
|
|||
indent = [
|
||||
"array_creation_expression",
|
||||
"arguments",
|
||||
"formal_parameters",
|
||||
"compound_statement",
|
||||
"declaration_list",
|
||||
"binary_expression",
|
||||
"return_statement",
|
||||
"expression_statement",
|
||||
"switch_block",
|
||||
"anonymous_function_use_clause",
|
||||
]
|
||||
|
||||
oudent = [
|
||||
"}",
|
||||
")",
|
||||
]
|
Loading…
Add table
Reference in a new issue