sass.vim 590 B

12345678910111213141516171819202122232425262728293031
  1. " Vim compiler file
  2. " Compiler: Sass
  3. " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
  4. " Last Change: 2016 Aug 29
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "sass"
  9. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  10. command -nargs=* CompilerSet setlocal <args>
  11. endif
  12. let s:cpo_save = &cpo
  13. set cpo-=C
  14. CompilerSet makeprg=sass
  15. CompilerSet errorformat=
  16. \%f:%l:%m\ (Sass::Syntax%trror),
  17. \%ESyntax\ %trror:%m,
  18. \%C%\\s%\\+on\ line\ %l\ of\ %f,
  19. \%Z%.%#,
  20. \%-G%.%#
  21. let &cpo = s:cpo_save
  22. unlet s:cpo_save
  23. " vim:set sw=2 sts=2: