From 2b9d8dc87e84ea9c03eb8852af8fd9fe00a6033a Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Thu, 4 Apr 2024 23:49:21 +0200 Subject: vim-patch:408281e16a36 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: vim/vim#14399 https://github.com/vim/vim/commit/408281e16a36c15eed10fbf0406fa8ab159fc4bf Co-authored-by: Doug Kearns --- runtime/compiler/context.vim | 4 ---- 1 file changed, 4 deletions(-) (limited to 'runtime/compiler/context.vim') diff --git a/runtime/compiler/context.vim b/runtime/compiler/context.vim index cb78c96df0..fa26269941 100644 --- a/runtime/compiler/context.vim +++ b/runtime/compiler/context.vim @@ -9,10 +9,6 @@ endif let s:keepcpo= &cpo set cpo&vim -if exists(":CompilerSet") != 2 " older Vim always used :setlocal - command -nargs=* CompilerSet setlocal -endif - " If makefile exists and we are not asked to ignore it, we use standard make " (do not redefine makeprg) if get(b:, 'context_ignore_makefile', get(g:, 'context_ignore_makefile', 0)) || -- cgit