diff --git a/syntax_checkers/sh/shellcheck.vim b/syntax_checkers/sh/shellcheck.vim index a5bd6800..cf86c7e3 100644 --- a/syntax_checkers/sh/shellcheck.vim +++ b/syntax_checkers/sh/shellcheck.vim @@ -47,7 +47,7 @@ function! s:GetShell(buf) " {{{2 let sh = 'ksh' elseif syntastic#util#bufRawVar(a:buf, 'is_bash', 0) let sh = 'bash' - elseif syntastic#util#RawVar(a:buf, 'is_sh', 0) + elseif syntastic#util#bufRawVar(a:buf, 'is_sh', 0) let sh = 'sh' endif endif