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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim compiler file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Compiler: Essential Lahey Fortran 90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Probably also works for Lahey Fortran 90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " URL: http://www.unb.ca/chem/ajit/compiler/fortran_elf90.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 if exists("current_compiler")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 let current_compiler = "fortran_elf90"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 let s:cposet=&cpoptions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 set cpoptions-=C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 CompilerSet errorformat=\%ALine\ %l\\,\ file\ %f,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 \%C%tARNING\ --%m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 \%C%tATAL\ --%m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 \%C%tBORT\ --%m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 \%+C%\\l%.%#\.,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 \%C%p\|,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 \%C%.%#,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 \%Z%$,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 \%-G%.%#
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 CompilerSet makeprg=elf90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 let &cpoptions=s:cposet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 unlet s:cposet