Updated plugin to use the nodejs csscomb implementation#9
Updated plugin to use the nodejs csscomb implementation#9tonyganch merged 8 commits intocsscomb:masterfrom
Conversation
|
👍 |
|
Not sure how it used to work with old implementation - but on errors would it notify me? An error (which I also get when csscomb is run in command line) is this: Comment is actually fine I think, but in any case - CLI gives an error, shouldn't plugin also do something other than fail silently? |
|
You're right - I only tried it on vanilla CSS that passed linting (I use syntastic to lint css, I guess that runs before this plugin). I'll look at adding error output when I get a chance |
|
Yeah, it's fair to assume people would set up lint rules to match their csscomb rules, so I guess it's not that big of a deal. Probably not super high priority to add error notification here... I actually just set up scss-lint (also uses syntastic) to lint my sass, it's AWESOME, hehe. Today's the cleanup day! now that all the styles are neat and combed lint will prevent me from messing it up 👍 |
|
One would hope that if someone is using csscomb they also know about linting, yes! But I still think it is a good idea to have the plugin at least output something when it barfs instead of doing it in silence. |
|
Ahoj! Sorry for delay, I'll take a look at this pr tomorrow. |
README.md
Outdated
There was a problem hiding this comment.
Should not there be csscomb/vim-csscomb?
|
I've addressed the issues you noted @tonyganch! |
|
@istro I've updated this PR to include error output in case of csscomb failure. Note that it will output only the following portion of the csscomb output:
|
|
👍 |
Updated plugin to use the nodejs csscomb implementation
|
Thank you so much for this pr! |
|
No problem, thanks for merging! 👯 |
Please review and let me know if any changes are required before merging