Mercurial > vim
comparison runtime/compiler/fortran_F.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 |
comparison
equal
deleted
inserted
replaced
34777:7ad9d92905ac | 34778:e1df51f68736 |
---|---|
1 " Vim compiler file | 1 " Vim compiler file |
2 " Compiler: Fortran Company/NAGWare F compiler | 2 " Compiler: Fortran Company/NAGWare F compiler |
3 " URL: http://www.unb.ca/chem/ajit/compiler/fortran_F.vim | 3 " URL: http://www.unb.ca/chem/ajit/compiler/fortran_F.vim |
4 " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/> | 4 " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/> |
5 " Version: 0.2 | 5 " Version: 0.2 |
6 " Last Change: 2004 Mar 27 | 6 " Last Change: 2004 Mar 27 |
7 " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition) | |
7 | 8 |
8 if exists("current_compiler") | 9 if exists("current_compiler") |
9 finish | 10 finish |
10 endif | 11 endif |
11 let current_compiler = "fortran_F" | 12 let current_compiler = "fortran_F" |
12 | |
13 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
14 command -nargs=* CompilerSet setlocal <args> | |
15 endif | |
16 | 13 |
17 let s:cposet=&cpoptions | 14 let s:cposet=&cpoptions |
18 set cpoptions-=C | 15 set cpoptions-=C |
19 | 16 |
20 CompilerSet errorformat=%trror:\ %f\\,\ line\ %l:%m, | 17 CompilerSet errorformat=%trror:\ %f\\,\ line\ %l:%m, |