From ae4c982f94b3b780041b16d6b5df247a67102d92 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 24 Jan 2022 20:39:18 +0100 Subject: indents(php): align with C indentation Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2357 --- queries/php/indents.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'queries/php') diff --git a/queries/php/indents.scm b/queries/php/indents.scm index 27cd7ed0..5c2a2924 100644 --- a/queries/php/indents.scm +++ b/queries/php/indents.scm @@ -10,14 +10,13 @@ ] @indent [ - "(" ")" - "{" "}" - "[" "]" ] @branch [ (comment) ] @ignore + +(compound_statement "}" @indent_end) -- cgit v1.2.3