fortran_elf90.vim 802 B

12345678910111213141516171819202122232425262728293031323334
  1. " Vim compiler file
  2. " Compiler: Essential Lahey Fortran 90
  3. " Probably also works for Lahey Fortran 90
  4. " URL: http://www.unb.ca/chem/ajit/compiler/fortran_elf90.vim
  5. " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/>
  6. " Version: 0.2
  7. " Last Change: 2004 Mar 27
  8. if exists("current_compiler")
  9. finish
  10. endif
  11. let current_compiler = "fortran_elf90"
  12. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  13. command -nargs=* CompilerSet setlocal <args>
  14. endif
  15. let s:cposet=&cpoptions
  16. set cpoptions-=C
  17. CompilerSet errorformat=\%ALine\ %l\\,\ file\ %f,
  18. \%C%tARNING\ --%m,
  19. \%C%tATAL\ --%m,
  20. \%C%tBORT\ --%m,
  21. \%+C%\\l%.%#\.,
  22. \%C%p\|,
  23. \%C%.%#,
  24. \%Z%$,
  25. \%-G%.%#
  26. CompilerSet makeprg=elf90
  27. let &cpoptions=s:cposet
  28. unlet s:cposet