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

keep multiline declaration format #35

Closed
yukulele opened this issue Jun 25, 2018 · 2 comments
Closed

keep multiline declaration format #35

yukulele opened this issue Jun 25, 2018 · 2 comments

Comments

@yukulele
Copy link

I'ts sometime better to keep multiline declaration:

input.shadowed
    color black
    background color green
    box-shadow:
        0px 0px 5px black,
        0px 5px 1px 1px blue,
        10px 10px 0px red,
        0px 0px 0px 1px yellow inset

stylus-supremacy is actually convert that to:

input.shadowed
    color black
    background color green
    box-shadow 0px 0px 5px black, 0px 5px 1px 1px blue, 10px 10px 0px red, 0px 0px 0px 1px yellow inset
@ThisIsManta
Copy link
Owner

Thanks for the feedback. I'll work on that soon.

@yukulele yukulele changed the title keep declaration multiline declaration keep multiline declaration unformat Jun 27, 2018
@yukulele yukulele changed the title keep multiline declaration unformat keep multiline declaration format Jun 27, 2018
@ThisIsManta
Copy link
Owner

Hello @yukulele,

Sorry to keep you waiting. The version 2.12.0 is out as NPM and VSCode extension. In order to allow such multi-line, you need to set preserveNewLinesBetweenPropertyValues formatting option to true manually.

Cheers!

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