Guest User

Untitled

a guest
Feb 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. if exists("b:did_ftplugin_css_flyquickfixmake")
  2. finish
  3. endif
  4. let b:did_ftplugin_css_flyquickfixmake = 1
  5.  
  6.  
  7. if (has('mac'))
  8. setlocal makeprg=csslint\ --rules=
  9. \display-property-grouping,
  10. \ids,
  11. \qualified-headings,
  12. \zero-unitsendor-prefix,
  13. \gradients,
  14. \box-model,
  15. \important,
  16. \compatible-vendor-prefixes,
  17. \duplicate-properties\
  18. \ %\ 2>&1\ \\\|\ $MY_VIMRUNTIME/tools/csslint_filter.pl
  19. else
  20.  
  21. endif
  22.  
  23. setlocal errorformat=%f[%l\\,%c]%m
  24.  
  25. augroup MyCssAutoCmd
  26. autocmd! * <buffer>
  27. autocmd BufWritePost <buffer> silent! make! | redraw!
  28. augroup END
Add Comment
Please, Sign In to add comment