From 664aa988f6d9cdb7b75218666fbe348c85ef8b29 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 4 Sep 2019 15:44:43 +0200 Subject: Update --- compiler/rustc.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'compiler/rustc.vim') diff --git a/compiler/rustc.vim b/compiler/rustc.vim index 8ef71b67..876dab5a 100644 --- a/compiler/rustc.vim +++ b/compiler/rustc.vim @@ -25,7 +25,11 @@ endif if get(g:, 'rustc_makeprg_no_percent', 0) CompilerSet makeprg=rustc else - CompilerSet makeprg=rustc\ \% + if has('patch-7.4.191') + CompilerSet makeprg=rustc\ \%:S + else + CompilerSet makeprg=rustc\ \% + endif endif " New errorformat (after nightly 2016/08/10) -- cgit v1.2.3