Skip to content

Commit 255a81f

Browse files
Konfektda-x
authored andcommitted
use poor man's shellescape in case %:S unavailable
1 parent f402d18 commit 255a81f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ else
2424
if has('patch-7.4.191')
2525
CompilerSet makeprg=rustc\ \%:S
2626
else
27-
CompilerSet makeprg=rustc\ \%
27+
CompilerSet makeprg=rustc\ \"%\"
2828
endif
2929
endif
3030

0 commit comments

Comments
 (0)