mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 06:20:01 -04:00
fix(php): do not indent after class/enum decl
This commit is contained in:
parent
ebdffa78bd
commit
53c79ddc28
3 changed files with 23 additions and 0 deletions
12
tests/indent/php/issue-6888.php
Normal file
12
tests/indent/php/issue-6888.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
enum DaysOfWeek: int
|
||||
{
|
||||
case Sunday = 0;
|
||||
case Monday = 1;
|
||||
}
|
||||
|
||||
class Foo {
|
||||
public int $id;
|
||||
public string $brand;
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue