g95.vim 677 B

1234567891011121314151617181920212223242526272829
  1. " Compiler: G95
  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=3492
  6. " https://bitbucket.org/xuhdev/compiler-g95.vim
  7. " License: Same as Vim
  8. if exists('current_compiler')
  9. finish
  10. endif
  11. let current_compiler = 'g95'
  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. \%AIn\ file\ %f:%l,
  19. \%-C%p1,
  20. \%-Z%trror:\ %m,
  21. \%-Z%tarning\ (%n):\ %m,
  22. \%-C%.%#
  23. let &cpo = s:keepcpo
  24. unlet s:keepcpo