home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / runtime / dos / compiler / gfortran.vim < prev    next >
Encoding:
Text File  |  2012-05-31  |  698 b   |  28 lines

  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.  
  9. if exists('current_compiler')
  10.     finish
  11. endif
  12. let current_compiler = 'gfortran'
  13. let s:keepcpo= &cpo
  14. set cpo&vim
  15.  
  16. if exists(":CompilerSet") != 2        " older Vim always used :setlocal
  17.   command -nargs=* CompilerSet setlocal <args>
  18. endif
  19.  
  20. CompilerSet errorformat=
  21.             \%A%f:%l.%c:,
  22.             \%-Z%trror:\ %m,
  23.             \%-Z%tarning:\ %m,
  24.             \%-C%.%#
  25.  
  26. let &cpo = s:keepcpo
  27. unlet s:keepcpo
  28.