gfortran.vim 619 B

12345678910111213141516171819202122232425
  1. " Compiler: GNU Fortran Compiler
  2. " Maintainer: H Xu <xuhdev@gmail.com>
  3. " Version: 0.1.3
  4. " Last Change: 2012 Apr 30
  5. " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
  6. " Homepage: http://www.vim.org/scripts/script.php?script_id=3496
  7. " https://bitbucket.org/xuhdev/compiler-gfortran.vim
  8. " License: Same as Vim
  9. if exists('current_compiler')
  10. finish
  11. endif
  12. let current_compiler = 'gfortran'
  13. let s:keepcpo= &cpo
  14. set cpo&vim
  15. CompilerSet errorformat=
  16. \%A%f:%l.%c:,
  17. \%-Z%trror:\ %m,
  18. \%-Z%tarning:\ %m,
  19. \%-C%.%#
  20. let &cpo = s:keepcpo
  21. unlet s:keepcpo