aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler/shellcheck.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/compiler/shellcheck.vim')
-rw-r--r--vim/compiler/shellcheck.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/compiler/shellcheck.vim b/vim/compiler/shellcheck.vim
index 6d6498da..354291f6 100644
--- a/vim/compiler/shellcheck.vim
+++ b/vim/compiler/shellcheck.vim
@@ -20,8 +20,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')
- execute s:set . '\ %:S'
+ execute s:set . '\ --\ %:S'
else
- execute s:set . '\ %'
+ execute s:set . '\ --\ %'
endif
CompilerSet errorformat=%f:%l:%c:\ %m\ [SC%n]