Merge branch 'vim' into feat/float-point-ext
[vim_extended.git] / runtime / compiler / fortran_lf95.vim
blob685fee7b4aea0708318e61524de5df4a3de37eed
1 " Vim compiler file
2 " Compiler:     Lahey/Fujitsu Fortran 95
3 " URL:          http://www.unb.ca/chem/ajit/compiler/fortran_lf95.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
8 if exists("current_compiler")
9   finish
10 endif
11 let current_compiler = "fortran_lf95"
13 if exists(":CompilerSet") != 2          " older Vim always used :setlocal
14   command -nargs=* CompilerSet setlocal <args>
15 endif
17 let s:cposet=&cpoptions
18 set cpoptions-=C
20 CompilerSet errorformat=\ %#%n-%t:\ \"%f\"\\,\ line\ %l:%m,
21       \Error\ LINK\.%n:%m,
22       \Warning\ LINK\.%n:%m,
23       \%-G%.%#
24 CompilerSet makeprg=lf95
26 let &cpoptions=s:cposet
27 unlet s:cposet