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

@ -39,6 +39,7 @@
(_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (_ (identifier) @local.definition.var))))))))))))))))))))
]
operator: "=")
; Stab Clause Definitions
; format-ignore
(stab_clause
@ -98,6 +99,7 @@
])
operator: "when")
])
; Aliases
; format-ignore
(call
@ -155,6 +157,7 @@
]))
]?)
(#set! definition.function.scope parent)(do_block)?) @local.scope
; ExUnit Test Definitions & Scopes
; format-ignore
(call
@ -193,5 +196,6 @@
])
])
(do_block)?) @local.scope
; Stab Clause Scopes
(stab_clause) @local.scope