fortran_F.vim 702 B

12345678910111213141516171819202122232425262728
  1. " Vim compiler file
  2. " Compiler: Fortran Company/NAGWare F compiler
  3. " URL: http://www.unb.ca/chem/ajit/compiler/fortran_F.vim
  4. " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/>
  5. " Version: 0.2
  6. " Last Change: 2004 Mar 27
  7. if exists("current_compiler")
  8. finish
  9. endif
  10. let current_compiler = "fortran_F"
  11. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  12. command -nargs=* CompilerSet setlocal <args>
  13. endif
  14. let s:cposet=&cpoptions
  15. set cpoptions-=C
  16. CompilerSet errorformat=%trror:\ %f\\,\ line\ %l:%m,
  17. \%tarning:\ %f\\,\ line\ %l:%m,
  18. \%tatal\ Error:\ %f\\,\ line\ %l:%m,
  19. \%-G%.%#
  20. CompilerSet makeprg=F
  21. let &cpoptions=s:cposet
  22. unlet s:cposet