kio: don't apply folded style to wrapped items

This commit is contained in:
Phillip Wittrock
2020-02-04 13:50:51 -08:00
parent bf6982afa3
commit 32fc17fedd

View File

@@ -113,7 +113,6 @@ func (w ByteWriter) Write(nodes []*yaml.RNode) error {
}
doc := &yaml.Node{
Kind: yaml.DocumentNode,
Style: yaml.FoldedStyle,
Content: []*yaml.Node{list}}
for i := range nodes {
items.Content = append(items.Content, nodes[i].YNode())