ifort.vim 690 B

12345678910111213141516171819202122232425262728
  1. " Compiler: Intel Fortran Compiler
  2. " Maintainer: H Xu <xuhdev@gmail.com>
  3. " Version: 0.1.1
  4. " Last Change: 2012 Apr 30
  5. " Homepage: http://www.vim.org/scripts/script.php?script_id=3497
  6. " https://bitbucket.org/xuhdev/compiler-ifort.vim
  7. " License: Same as Vim
  8. if exists('current_compiler')
  9. finish
  10. endif
  11. let current_compiler = 'ifort'
  12. let s:keepcpo= &cpo
  13. set cpo&vim
  14. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  15. command -nargs=* CompilerSet setlocal <args>
  16. endif
  17. CompilerSet errorformat=
  18. \%A%f(%l):\ %trror\ \#%n:\ %m,
  19. \%A%f(%l):\ %tarning\ \#%n:\ %m,
  20. \%-Z%p^,
  21. \%-G%.%#
  22. let &cpo = s:keepcpo
  23. unlet s:keepcpo