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

Not preserving lines around custom @-rules #60

Closed
lynzrand opened this issue Dec 11, 2019 · 1 comment
Closed

Not preserving lines around custom @-rules #60

lynzrand opened this issue Dec 11, 2019 · 1 comment
Labels

Comments

@lynzrand
Copy link

Plugin version: 2.14.0 (tested in browser and VSCode plugin)

When formatting the following code in Stylus Supremacy:

@lost gutter 24px
@lost flexbox flex
default-font = 'Sarasa UI SC'

We get the following result (with default settings):

@lost gutter 24px;@lost flexbox flex;default-font = 'Sarasa UI SC';

图片

Formatting without semicolons makes things worse:

@lost gutter 24px@lost flexbox flexdefault-font = 'Sarasa UI SC'

Expected output is the same with input (with semicolons).

@ThisIsManta ThisIsManta added the bug label May 6, 2020
@ThisIsManta
Copy link
Owner

This will be fixed in v2.14.2 or newer.

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

No branches or pull requests

2 participants