diff options
author | Doug Kearns <dougkearns@gmail.com> | 2024-04-04 22:00:58 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-04 22:00:58 +0200 |
commit | 408281e16a36c15eed10fbf0406fa8ab159fc4bf (patch) | |
tree | a1eb98024055bd1624dcd5c9c1997bd3f4cc35e5 /runtime/compiler/shellcheck.vim | |
parent | cc59d62215b075c715294ad24a41bfd091cb8d48 (diff) |
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>
Diffstat (limited to 'runtime/compiler/shellcheck.vim')
-rw-r--r-- | runtime/compiler/shellcheck.vim | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/compiler/shellcheck.vim b/runtime/compiler/shellcheck.vim index 7550439aa2..5eeddc69c1 100644 --- a/runtime/compiler/shellcheck.vim +++ b/runtime/compiler/shellcheck.vim @@ -1,17 +1,13 @@ " Vim compiler file " Compiler: ShellCheck " Maintainer: Doug Kearns <dougkearns@gmail.com> -" Last Change: 2020 Sep 4 +" Last Change: 2024 Apr 03 if exists("current_compiler") finish endif let current_compiler = "shellcheck" -if exists(":CompilerSet") != 2 " older Vim always used :setlocal - command -nargs=* CompilerSet setlocal <args> -endif - let s:cpo_save = &cpo set cpo&vim |