comparison runtime/compiler/jikes.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 2704c4e3e20a
children
comparison
equal deleted inserted replaced
34777:7ad9d92905ac 34778:e1df51f68736
1 " Vim Compiler File 1 " Vim Compiler File
2 " Compiler: Jikes 2 " Compiler: Jikes
3 " Maintainer: Dan Sharp <dwsharp at hotmail dot com> 3 " Maintainer: Dan Sharp <dwsharp at hotmail dot com>
4 " Last Change: 2019 Jul 23 4 " Last Change: 2019 Jul 23
5 " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
5 " URL: http://dwsharp.users.sourceforge.net/vim/compiler 6 " URL: http://dwsharp.users.sourceforge.net/vim/compiler
6 7
7 if exists("current_compiler") 8 if exists("current_compiler")
8 finish 9 finish
9 endif 10 endif
10 let current_compiler = "jikes" 11 let current_compiler = "jikes"
11 12
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
13 command -nargs=* CompilerSet setlocal <args>
14 endif
15
16 " Jikes defaults to printing output on stderr 13 " Jikes defaults to printing output on stderr
17 CompilerSet makeprg=jikes\ -Xstdout\ +E\ \"%:S\" 14 CompilerSet makeprg=jikes\ -Xstdout\ +E\ \"%:S\"
18 CompilerSet errorformat=%f:%l:%v:%*\\d:%*\\d:%*\\s%m 15 CompilerSet errorformat=%f:%l:%v:%*\\d:%*\\d:%*\\s%m