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

How to get rid of placing each element in brackets placing in new line? #132

Closed
alex-shamshurin opened this issue Feb 19, 2017 · 5 comments

Comments

@alex-shamshurin
Copy link

See this
formatting_issues

@maksimr
Copy link
Owner

maksimr commented Feb 20, 2017

@alex-shamshurin looks like a problem in js-beautify.

Because most of a formatting stuff handled by this lib

Thanks

@alex-shamshurin
Copy link
Author

Yes, I know, but may be there is a way to improve result a bit? This is a beautifier, not uglifier, ist't it?

@alex-shamshurin
Copy link
Author

May me switch to jscs as a backend lib?

@maksimr
Copy link
Owner

maksimr commented Feb 20, 2017

@alex-shamshurin

but may be there is a way to improve result a bit

I think yes, but the best first place for a question about formatting is js-beautify because the current plugin does not format your code it only take code from your file, take options from editor config and pass it to js-beautify lib.

May me switch to jscs as a backend lib?

Pull request are welcome :)

@alex-shamshurin
Copy link
Author

alex-shamshurin commented Feb 20, 2017

Unfornutely I dot know VIM script, but I'd like to have everything working, This is my issue about tags and linting. May be it will be interesting for you and you could give me an advise.

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

2 participants