summaryrefslogtreecommitdiffstats
path: root/compiler/rustc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc.vim')
-rw-r--r--compiler/rustc.vim6
1 files changed, 5 insertions, 1 deletions
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)