summaryrefslogtreecommitdiffstats
path: root/compiler/rustc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc.vim')
-rw-r--r--compiler/rustc.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc.vim b/compiler/rustc.vim
index e0aebba0..e6a53cda 100644
--- a/compiler/rustc.vim
+++ b/compiler/rustc.vim
@@ -17,7 +17,7 @@ if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
-if exists("g:rustc_makeprg_no_percent") && g:rustc_makeprg_no_percent == 1
+if exists("g:rustc_makeprg_no_percent") && g:rustc_makeprg_no_percent != 0
CompilerSet makeprg=rustc
else
CompilerSet makeprg=rustc\ \%