]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(compiler): Remove version check in rustc compiler
authorKonfekt <Konfekt@users.noreply.github.com>
Sat, 15 Nov 2025 17:18:41 +0000 (17:18 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 15 Nov 2025 17:18:41 +0000 (17:18 +0000)
closes: #18347

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/compiler/rustc.vim

index b3c80919872bae76032ce13729c59f3c2ed27aa0..ca261d857a188018744c240029da6c6821c66015 100644 (file)
@@ -2,6 +2,7 @@
 " Compiler:         Rust Compiler
 " Maintainer:       Chris Morgan <me@chrismorgan.info>
 " Latest Revision:  2023-09-11
+" 2025 Nov 15 by Vim project: remove test for Vim patch 7.4.191
 " For bugs, patches and license go to https://github.com/rust-lang/rust.vim
 
 if exists("current_compiler")
@@ -17,11 +18,7 @@ set cpo&vim
 if get(g:, 'rustc_makeprg_no_percent', 0)
     CompilerSet makeprg=rustc
 else
-    if has('patch-7.4.191')
-      CompilerSet makeprg=rustc\ \%:S
-    else
-      CompilerSet makeprg=rustc\ \"%\"
-    endif
+    CompilerSet makeprg=rustc\ \%:S
 endif
 
 " New errorformat (after nightly 2016/08/10)