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