mirror of
https://github.com/vim/vim.git
synced 2025-11-16 23:24:03 -05:00
runtime(compiler): Remove version check in rustc compiler
closes: #18347 Signed-off-by: Konfekt <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
d0dd5614db
commit
fb8ebf1ee0
@@ -2,6 +2,7 @@
|
|||||||
" Compiler: Rust Compiler
|
" Compiler: Rust Compiler
|
||||||
" Maintainer: Chris Morgan <me@chrismorgan.info>
|
" Maintainer: Chris Morgan <me@chrismorgan.info>
|
||||||
" Latest Revision: 2023-09-11
|
" 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
|
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
@@ -17,11 +18,7 @@ set cpo&vim
|
|||||||
if get(g:, 'rustc_makeprg_no_percent', 0)
|
if get(g:, 'rustc_makeprg_no_percent', 0)
|
||||||
CompilerSet makeprg=rustc
|
CompilerSet makeprg=rustc
|
||||||
else
|
else
|
||||||
if has('patch-7.4.191')
|
CompilerSet makeprg=rustc\ \%:S
|
||||||
CompilerSet makeprg=rustc\ \%:S
|
|
||||||
else
|
|
||||||
CompilerSet makeprg=rustc\ \"%\"
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" New errorformat (after nightly 2016/08/10)
|
" New errorformat (after nightly 2016/08/10)
|
||||||
|
|||||||
Reference in New Issue
Block a user