fortran_cv.vim 697 B

12345678910111213141516171819202122232425262728
  1. " Vim compiler file
  2. " Compiler: Compaq Visual Fortran
  3. " Maintainer: Joh.-G. Simon (johann-guenter.simon@linde-le.com)
  4. " Last Change: 11/05/2002
  5. " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
  6. if exists("current_compiler")
  7. finish
  8. endif
  9. let current_compiler = "fortran_cv"
  10. let s:cposet = &cpoptions
  11. set cpoptions-=C
  12. " A workable errorformat for Compaq Visual Fortran
  13. CompilerSet errorformat=
  14. \%E%f(%l)\ :\ Error:%m,
  15. \%W%f(%l)\ :\ Warning:%m,
  16. \%-Z%p%^%.%#,
  17. \%-G%.%#,
  18. " Compiler call
  19. CompilerSet makeprg=df\ /nologo\ /noobj\ /c\ %:S
  20. " Visual fortran defaults to printing output on stderr
  21. " Adjust option shellpipe accordingly
  22. let &cpoptions = s:cposet
  23. unlet s:cposet