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

CSS Beautify Update CLI File Flag #261

Open
jteppinette opened this issue Jan 19, 2019 · 1 comment
Open

CSS Beautify Update CLI File Flag #261

jteppinette opened this issue Jan 19, 2019 · 1 comment

Comments

@jteppinette
Copy link

I had to add the following options to my .vimrc to get the CSS Beautifier to work:

let g:formatdef_fixed_css_beautify = '"css-beautify -f- -s ".shiftwidth()'
let g:formatters_css = ['fixed_css_beautify']

This is due to the css-beautify utility not supporting a space between the -f flag and - value. I don't see this marked as an issue on the js-beautify repo.

@chtenb
Copy link
Member

chtenb commented Jul 4, 2019

Could this be due to a difference in versions?

$ css-beautify --help
[email protected]

Possibly related: #39

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