sh: relax makeprg to catch errors that werent getting parsed
Errors like this were not getting picked up: /tmp/foo.sh: line 4: syntax error near unexpected token `)' /tmp/foo.sh: line 4: `!!"£!")£!"£echo "foo"'
This commit is contained in:
parent
f1d1827852
commit
e3c3dda1c1
@ -54,6 +54,6 @@ function! SyntaxCheckers_sh_GetLocList()
|
||||
endif
|
||||
|
||||
let makeprg = s:GetShell() . ' -n ' . shellescape(expand('%'))
|
||||
let errorformat = '%f: line %l: syntax %trror: %m'
|
||||
let errorformat = '%f: line %l: %m'
|
||||
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat})
|
||||
endfunction
|
||||
|
Loading…
x
Reference in New Issue
Block a user