Mercurial > vim
annotate runtime/compiler/fortran_elf90.vim @ 34778:e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Commit: https://github.com/vim/vim/commit/408281e16a36c15eed10fbf0406fa8ab159fc4bf
Author: Doug Kearns <dougkearns@gmail.com>
Date: Thu Apr 4 22:00:58 2024 +0200
runtime: Remove fallback :CompilerSet definition from compiler plugins
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 04 Apr 2024 22:15:04 +0200 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
2 " Compiler: Essential Lahey Fortran 90 | |
3 " Probably also works for Lahey Fortran 90 | |
4 " URL: http://www.unb.ca/chem/ajit/compiler/fortran_elf90.vim | |
5 " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/> | |
6 " Version: 0.2 | |
34778
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
7 " Last Change: 2004 Mar 27 |
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
8 " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition) |
7 | 9 |
10 if exists("current_compiler") | |
11 finish | |
12 endif | |
13 let current_compiler = "fortran_elf90" | |
14 | |
15 let s:cposet=&cpoptions | |
16 set cpoptions-=C | |
17 | |
18 CompilerSet errorformat=\%ALine\ %l\\,\ file\ %f, | |
19 \%C%tARNING\ --%m, | |
20 \%C%tATAL\ --%m, | |
21 \%C%tBORT\ --%m, | |
22 \%+C%\\l%.%#\., | |
23 \%C%p\|, | |
24 \%C%.%#, | |
25 \%Z%$, | |
26 \%-G%.%# | |
27 CompilerSet makeprg=elf90 | |
28 | |
29 let &cpoptions=s:cposet | |
30 unlet s:cposet |