Add indents definition based on the one from nvim-treesitter
commit9e247bf6eef34978d66cdcee535da5e4f5ba13e9
authorDaniel Poulin <dan.poulin@digitalsurgeons.com>
dateMon 1 Nov 2021, 10:41 (5 years ago)
parent924b7d3
runtime/queries/php/indents.tomlnew file+17
@@ -0,0 +1,17 @@
1+indent = [
2+ "array_creation_expression",
3+ "arguments",
4+ "formal_parameters",
5+ "compound_statement",
6+ "declaration_list",
7+ "binary_expression",
8+ "return_statement",
9+ "expression_statement",
10+ "switch_block",
11+ "anonymous_function_use_clause",
12+]
13+
14+oudent = [
15+ "}",
16+ ")",
17+]