aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler/sh.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/compiler/sh.vim')
-rw-r--r--vim/compiler/sh.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/compiler/sh.vim b/vim/compiler/sh.vim
index ff5ed314..a62a00db 100644
--- a/vim/compiler/sh.vim
+++ b/vim/compiler/sh.vim
@@ -10,8 +10,8 @@ endif
" 7.4.191 is the earliest version with the :S file name modifier, which we
" really should use if we can
if v:version >= 704 || v:version == 704 && has('patch191')
- CompilerSet makeprg=sh\ -n\ %:S
+ CompilerSet makeprg=sh\ -n\ --\ %:S
else
- CompilerSet makeprg=sh\ -n\ %
+ CompilerSet makeprg=sh\ -n\ --\ %
endif
CompilerSet errorformat=%f:\ %l:\ %m