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

Stylus wraps arguments in brackets #471

Closed
3 tasks done
Kelin2025 opened this issue Oct 15, 2017 · 5 comments
Closed
3 tasks done

Stylus wraps arguments in brackets #471

Kelin2025 opened this issue Oct 15, 2017 · 5 comments

Comments

@Kelin2025
Copy link

Kelin2025 commented Oct 15, 2017

Info

  • Platform: Linux
  • Vetur version: 0.9.11
  • VSCode version: 1.17.1

Problem

Got a problem with stylus formatting in vue-components.
If you pass a value from object to function (e.g. lighten), vetur will wrap it in brackets every time you'll save a file.
image
image
image
Does it want me to become a lisp programmer? 🤔

@octref
Copy link
Member

octref commented Oct 15, 2017

What's your stylusSupremacy settings?
This should be a problem with stylusSupremacy. @ThisIsManta

@octref
Copy link
Member

octref commented Oct 15, 2017

Does it want me to become a lisp programmer? 🤔

We don't have such secret plans 😂

@Kelin2025
Copy link
Author

Kelin2025 commented Oct 15, 2017

I found problem.

This should be a problem with stylusSupremecy

It happens when stylusSupremacy.insertColons is true

We don't have such secret plans

First rule of secret lisp club - nobody should know you are lisper 😈

ThisIsManta added a commit to ThisIsManta/stylus-supremacy that referenced this issue Oct 21, 2017
@ThisIsManta
Copy link
Contributor

This has been fixed in Stylus Supremacy version 2.5.0.

I'll open a PR against Vetur.

@Kelin2025
Copy link
Author

@ThisIsManta thanks a lot! ❤️ this plugin

octref added a commit that referenced this issue Nov 22, 2017
Upgraded Stylus Supremacy to version 2.5.0. Fix #471
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants