Closed tonyganch closed 9 years ago
For anyone looking, here's an easy way to use csscomb installed with npm. No plugins needed.
Put this in .vimrc
(or wherever appropriate) and use F5 to run buffer through csscomb.
It will naturally use the project .csscomb.json
if available.
autocmd FileType scss,css nnoremap <buffer> <F5> :call CSScomb()<CR>
function! CSScomb()
execute "silent !csscomb " . expand('%')
redraw!
endfunction
See #9 for my PR
This should be closed, @tonyganch?
@faceleg, yes! Do you have twitter?
Yep, it's @codeofinterest
We have a node version of csscomb ready. It will be nice if this plugin is updated by the time of public release.
If someone starts working on this task, please leave a comment. Keep in mind that current (php) version should stay available for download. The easiest way is to make a release before making any changes. Thank you.