diff --git a/pkg/format/formatter.go b/pkg/format/formatter.go index 0719698..16f3208 100644 --- a/pkg/format/formatter.go +++ b/pkg/format/formatter.go @@ -691,6 +691,7 @@ func columnFormatElements[T ast.Node, C elementsContainer[T]](f *formatter, ctr if isMessageOrArrayLiteral { startNewGroup() currentGroup = append(currentGroup, e) + startNewGroup() // group this field by itself continue } }