mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
fix(dart): function argument indents is inconsistent
This commit is contained in:
parent
a82501244a
commit
ac4020c707
3 changed files with 17 additions and 1 deletions
|
|
@ -1,7 +1,6 @@
|
|||
[
|
||||
(class_body)
|
||||
(function_body)
|
||||
(function_expression_body)
|
||||
(declaration (initializers))
|
||||
(switch_block)
|
||||
(if_statement)
|
||||
|
|
@ -28,5 +27,7 @@
|
|||
|
||||
; this one is for dedenting the else block
|
||||
(if_statement (block) @indent.branch)
|
||||
; Issue #4637
|
||||
(function_expression_body (block) @indent.branch)
|
||||
|
||||
(comment) @indent.ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue