csslint.vim 542 B

1234567891011121314151617
  1. " Vim compiler file
  2. " Compiler: csslint for CSS
  3. " Maintainer: Daniel Moch <daniel@danielmoch.com>
  4. " Last Change: 2016 May 21
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "csslint"
  9. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  10. command -nargs=* CompilerSet setlocal <args>
  11. endif
  12. CompilerSet makeprg=csslint\ --format=compact
  13. CompilerSet errorformat=%-G,%-G%f:\ lint\ free!,%f:\ line\ %l\\,\ col\ %c\\,\ %trror\ -\ %m,%f:\ line\ %l\\,\ col\ %c\\,\ %tarning\ -\ %m,%f:\ line\ %l\\,\ col\ %c\\,\ %m