Skip to content
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

Multiline values formatting #13

Open
dandelionred opened this issue Feb 10, 2019 · 1 comment
Open

Multiline values formatting #13

dandelionred opened this issue Feb 10, 2019 · 1 comment

Comments

@dandelionred
Copy link

This (it comes from sample nginx magento snippet)

gzip_types
    text/plain
    text/css
    text/js
    text/xml
    text/javascript
    application/javascript
    application/x-javascript
    application/json
    application/xml
    application/xml+rss
    image/svg+xml;

is converted to

gzip_types
text/plain
text/css
text/js
text/xml
text/javascript
application/javascript
application/x-javascript
application/json
application/xml
application/xml+rss
image/svg+xml;

Could it format such multiline values the padded way?

@slomkowski
Copy link
Owner

In fact, this is a matter of style. Perhaps, current formatting is preferred for some, as shown in #9. I'll probably make an option in FormatterOptions for it. Leaving it open for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants