-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yamlfmt does not retain indent in >-
(Line Folding) by default
#182
Comments
Hi @kachick do you have |
Oh... sorry, I didn't understand this flag 🙇♂️ Perfectly resolved! (But I dont't know when |
>-
(Line Folding)>-
(Line Folding) by default
No problem, I understand it's not very well named. I was really struggling to come up with a name for it. Realistically I think it should default to on. I have a general rule that when any feature is a result of me changing/adding something to my fork of the yaml library, I don't default it to on in case there is a niche case where it broke. I could probably come up with a better solution for leaving things default off at first and having a schedule for defaulting them on after not receiving issues about it for long enough. I'll think about a plan for this going forward! |
For actual example from .goreleaser.yml in this repository
With yamlfmt
0.12.1
It outputs
From yaml spec
If this behavior is correct, I think we don't need any
>-
syntax in YAML.The text was updated successfully, but these errors were encountered: