summaryrefslogtreecommitdiffstats
path: root/compiler/rustc.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-04 15:44:43 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-04 15:44:43 +0200
commit664aa988f6d9cdb7b75218666fbe348c85ef8b29 (patch)
tree306173199576430e6133a1ed137bd80bbc2fb01b /compiler/rustc.vim
parent3ddca5da461ebfaa82104f82e3cbf19d1c326ade (diff)
downloadvim-polyglot-664aa988f6d9cdb7b75218666fbe348c85ef8b29.tar.gz
vim-polyglot-664aa988f6d9cdb7b75218666fbe348c85ef8b29.zip
Update
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)