mipspro_cpp.vim 701 B

123456789101112131415161718192021222324252627
  1. " Vim compiler file
  2. " Compiler: SGI IRIX 6.5 MIPSPro C++ (CC)
  3. " Maintainer: David Harrison <david_jr@users.sourceforge.net>
  4. " Last Change: 2012 Apr 30
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "mipspro_cpp"
  9. let s:keepcpo= &cpo
  10. set cpo&vim
  11. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  12. command -nargs=* CompilerSet setlocal <args>
  13. endif
  14. CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
  15. \%Wcc\-%n\ %.%#:\ WARNING\ File\ =\ %f\%\\,\ Line\ =\ %l,
  16. \%Icc\-%n\ %.%#:\ REMARK\ File\ =\ %f\%\\,\ Line\ =\ %l,
  17. \%+C\ \ %m.,
  18. \%-Z\ \ %p^,
  19. \%-G\\s%#,
  20. \%-G%.%#
  21. let &cpo = s:keepcpo
  22. unlet s:keepcpo