gfortran.vim 671 B

12345678910111213141516171819202122232425262728
  1. " Compiler: GNU Fortran Compiler
  2. " Maintainer: H Xu <xuhdev@gmail.com>
  3. " Version: 0.1.3
  4. " Last Change: 2012 Apr 30
  5. " Homepage: http://www.vim.org/scripts/script.php?script_id=3496
  6. " https://bitbucket.org/xuhdev/compiler-gfortran.vim
  7. " License: Same as Vim
  8. if exists('current_compiler')
  9. finish
  10. endif
  11. let current_compiler = 'gfortran'
  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.%c:,
  19. \%-Z%trror:\ %m,
  20. \%-Z%tarning:\ %m,
  21. \%-C%.%#
  22. let &cpo = s:keepcpo
  23. unlet s:keepcpo