intel.vim 595 B

123456789101112131415161718192021222324252627
  1. " Vim compiler file
  2. " Compiler: Intel C++ 7.1
  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 = "intel"
  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=%E%f(%l):\ error:\ %m,
  15. \%W%f(%l):\ warning:\ %m,
  16. \%I%f(%l):\ remark\ #%n:\ %m,
  17. \%+C\ \ %m.,
  18. \%-Z\ \ %p^,
  19. \%-G\\s%#,
  20. \%-G%.%#
  21. let &cpo = s:keepcpo
  22. unlet s:keepcpo