1" Vim compiler file 2" Compiler: Fortran Company/NAGWare F compiler 3" URL: http://www.unb.ca/chem/ajit/compiler/fortran_F.vim 4" Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/> 5" Version: 0.2 6" Last Change: 2004 Mar 27 7 8if exists("current_compiler") 9 finish 10endif 11let current_compiler = "fortran_F" 12 13if exists(":CompilerSet") != 2 " older Vim always used :setlocal 14 command -nargs=* CompilerSet setlocal <args> 15endif 16 17let s:cposet=&cpoptions 18set cpoptions-=C 19 20CompilerSet errorformat=%trror:\ %f\\,\ line\ %l:%m, 21 \%tarning:\ %f\\,\ line\ %l:%m, 22 \%tatal\ Error:\ %f\\,\ line\ %l:%m, 23 \%-G%.%# 24CompilerSet makeprg=F 25 26let &cpoptions=s:cposet 27unlet s:cposet 28