indents(php): align with C indentation

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2357
This commit is contained in:
Stephan Seitz 2022-01-24 20:39:18 +01:00 committed by Christian Clason
parent 77d247b300
commit ae4c982f94
3 changed files with 34 additions and 3 deletions

View file

@ -0,0 +1,12 @@
<?php
class example
{
public int $variable;
// indentation works correctly here
public function foo()
{
// indentation works correctly here
}
}