From 9e247bf6eef34978d66cdcee535da5e4f5ba13e9 Mon Sep 17 00:00:00 2001 From: Daniel Poulin Date: Mon, 1 Nov 2021 10:41:55 -0400 Subject: Add indents definition based on the one from nvim-treesitter --- runtime/queries/php/indents.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 runtime/queries/php/indents.toml (limited to 'runtime/queries/php') diff --git a/runtime/queries/php/indents.toml b/runtime/queries/php/indents.toml new file mode 100644 index 00000000..85c104db --- /dev/null +++ b/runtime/queries/php/indents.toml @@ -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 = [ + "}", + ")", +] -- cgit v1.2.3-70-g09d2