-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Flow collections always wrap at >80 characters, regardless of lineWidth option #507
Comments
Oh, cool, didn't know there was an internal value controlling that, only saw Not sure if At the very least though, they should both be available in the options for |
Funny enough, I just stumbled my way here too. Fully expected EDIT: My mistake.. The word wrapping was working as I expected. However, my editor was still wrapping text which game me the impression that |
A PR making |
This should address issues eemeli#288 and eemeli#507.
This should address issues eemeli#288 and eemeli#507.
This should address issues eemeli#288 and eemeli#507.
This should address issues eemeli#288 and eemeli#507.
This should address issues eemeli#288 and eemeli#507.
Fixed by #522. |
Describe the bug
When using the
flow
collection style, collections always seem to wrap at around 80 characters, regardless of thelineWidth
option:To Reproduce
Expected behaviour
Flow collections respect the
lineWidth
option and wrap at 120 characters instead of 80 (or not wrap at all iflineWidth
is 0)Versions (please complete the following information):
yaml
: 2.3.4Additional context
The same issue manifests when using
collectionStyle: 'flow'
in thetoString()
options, so it's not specific to mixed style.The text was updated successfully, but these errors were encountered: