mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -04:00
fix(dart): add @indent_end to } (#4167)
* fix dart indentation after } * add some simple test case
This commit is contained in:
parent
5c511dd124
commit
68ab44277c
3 changed files with 28 additions and 0 deletions
|
|
@ -21,6 +21,10 @@
|
|||
"]"
|
||||
] @branch
|
||||
|
||||
[
|
||||
"}"
|
||||
] @indent_end
|
||||
|
||||
; this one is for dedenting the else block
|
||||
(if_statement (block) @branch)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue