mirror of
https://github.com/vim/vim
synced 2025-03-26 11:45:22 +01:00
The :CompilerSet command was added in version Vim 6.4 which was released twenty years ago. Other runtime files do not support versions of that vintage so it is reasonable to remove this fallback command definition now. closes: #14399 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
27 lines
697 B
VimL
27 lines
697 B
VimL
" 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
|