Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if exists("b:did_ftplugin_css_flyquickfixmake")
- finish
- endif
- let b:did_ftplugin_css_flyquickfixmake = 1
- if (has('mac'))
- setlocal makeprg=csslint\ --rules=
- \display-property-grouping,
- \ids,
- \qualified-headings,
- \zero-unitsendor-prefix,
- \gradients,
- \box-model,
- \important,
- \compatible-vendor-prefixes,
- \duplicate-properties\
- \ %\ 2>&1\ \\\|\ $MY_VIMRUNTIME/tools/csslint_filter.pl
- else
- endif
- setlocal errorformat=%f[%l\\,%c]%m
- augroup MyCssAutoCmd
- autocmd! * <buffer>
- autocmd BufWritePost <buffer> silent! make! | redraw!
- augroup END
Add Comment
Please, Sign In to add comment