comparison runtime/compiler/ifort.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 d1e4abe8342c
children
comparison
equal deleted inserted replaced
34777:7ad9d92905ac 34778:e1df51f68736
1 " Compiler: Intel Fortran Compiler 1 " Compiler: Intel Fortran Compiler
2 " Maintainer: H Xu <xuhdev@gmail.com> 2 " Maintainer: H Xu <xuhdev@gmail.com>
3 " Version: 0.1.1 3 " Version: 0.1.1
4 " Last Change: 2012 Apr 30 4 " Last Change: 2012 Apr 30
5 " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
5 " Homepage: http://www.vim.org/scripts/script.php?script_id=3497 6 " Homepage: http://www.vim.org/scripts/script.php?script_id=3497
6 " https://bitbucket.org/xuhdev/compiler-ifort.vim 7 " https://bitbucket.org/xuhdev/compiler-ifort.vim
7 " License: Same as Vim 8 " License: Same as Vim
8 9
9 if exists('current_compiler') 10 if exists('current_compiler')
11 endif 12 endif
12 let current_compiler = 'ifort' 13 let current_compiler = 'ifort'
13 let s:keepcpo= &cpo 14 let s:keepcpo= &cpo
14 set cpo&vim 15 set cpo&vim
15 16
16 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
17 command -nargs=* CompilerSet setlocal <args>
18 endif
19
20 CompilerSet errorformat= 17 CompilerSet errorformat=
21 \%A%f(%l):\ %trror\ \#%n:\ %m, 18 \%A%f(%l):\ %trror\ \#%n:\ %m,
22 \%A%f(%l):\ %tarning\ \#%n:\ %m, 19 \%A%f(%l):\ %tarning\ \#%n:\ %m,
23 \%-Z%p^, 20 \%-Z%p^,
24 \%-G%.%# 21 \%-G%.%#