Fixup format (#5934)

* fix(format): newline between top-level field defs

* fixup: newline between node and comment

* fixup: optimize pattern
This commit is contained in:
Phạm Huy Hoàng 2024-01-20 18:47:56 +09:00 committed by GitHub
parent f5a839d1e8
commit d198a75e2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 47 additions and 3 deletions

View file

@ -7,6 +7,7 @@
(initializer_list)
(init_declarator)
] @indent.begin
; With current indent logic, if we capture expression_statement with @indent.begin
; It will be affected by _parent_ node with error subnodes deep down the tree
; So narrow indent capture to check for error inside expression statement only,