neovim/runtime/compiler/fortran_cv.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
697 B
VimL
Raw Permalink Normal View History

" Vim compiler file
" Compiler: Compaq Visual Fortran
" Maintainer: Joh.-G. Simon (johann-guenter.simon@linde-le.com)
" Last Change: 11/05/2002
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "fortran_cv"
let s:cposet = &cpoptions
set cpoptions-=C
" A workable errorformat for Compaq Visual Fortran
CompilerSet errorformat=
\%E%f(%l)\ :\ Error:%m,
\%W%f(%l)\ :\ Warning:%m,
\%-Z%p%^%.%#,
\%-G%.%#,
" Compiler call
CompilerSet makeprg=df\ /nologo\ /noobj\ /c\ %:S
" Visual fortran defaults to printing output on stderr
" Adjust option shellpipe accordingly
let &cpoptions = s:cposet
unlet s:cposet