fix(dart): add @indent_end to } (#4167)

* fix dart indentation after }

* add some simple test case
This commit is contained in:
SzeLamC 2023-02-25 05:06:31 +08:00 committed by GitHub
parent 5c511dd124
commit 68ab44277c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 0 deletions

View file

@ -21,6 +21,10 @@
"]"
] @branch
[
"}"
] @indent_end
; this one is for dedenting the else block
(if_statement (block) @branch)