se.vim 742 B

12345678910111213141516171819202122232425262728293031
  1. " Vim compiler file
  2. " Compiler: se (Liberty Eiffel Compiler)
  3. " Maintainer: Doug Kearns <dougkearns@gmail.com>
  4. " Last Change: 2013 Jun 29
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "se"
  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=se\ c
  15. CompilerSet errorformat=%W******\ Warning:\ %m,
  16. \%E******\ Fatal\ Error:\ %m,
  17. \%E******\ Error:\ %m,
  18. \%ZLine\ %l\ column\ %c\ in\ %.%#\ (%f)\ %\\=:,
  19. \%ZLine\ %l\ columns\ %c\\,\ %\\d%\\+\ %.%#\ (%f)\ %\\=:,
  20. \%+C%*[^\ ]%.%#,
  21. \%-GThe\ source\ lines\ involved,
  22. \%-G%.%#
  23. let &cpo = s:cpo_save
  24. unlet s:cpo_save