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/dot.vim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'runtime/compiler/dot.vim') diff --git a/runtime/compiler/dot.vim b/runtime/compiler/dot.vim index 773a6fb269..145411ebd3 100644 --- a/runtime/compiler/dot.vim +++ b/runtime/compiler/dot.vim @@ -2,16 +2,13 @@ " Compiler: ATT dot " Maintainer: Marcos Macedo " Last Change: 2024 March 21 +" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition) if exists("current_compiler") finish endif let current_compiler = "dot" -if exists(":CompilerSet") != 2 " older Vim always used :setlocal - command -nargs=* CompilerSet setlocal -endif - CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\" " matches error messages as below skipping final part after line number " Error: ./file.dot: syntax error in line 1 near 'rankdir' -- cgit