syntastic git · master
syntastic vim plugin (fork)
Vim Script 99%git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gzChecker sh/sh: update errorformat to allow ksh93.
plugin/syntastic.vim | 2 +- syntax_checkers/sh/sh.vim | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 490c586c..3e34f9c8 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.10.0-22' +let g:_SYNTASTIC_VERSION = '3.10.0-23' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/sh/sh.vim b/syntax_checkers/sh/sh.vim index 44494c98..50c9cdbd 100644 --- a/syntax_checkers/sh/sh.vim +++ b/syntax_checkers/sh/sh.vim @@ -38,7 +38,10 @@ function! SyntaxCheckers_sh_sh_GetLocList() dict " {{{1 \ 'exe': s:GetShell(buf), \ 'args_after': '-n' }) - let errorformat = '%f: line %l: %m' + let errorformat = + \ '%f: line %l: %m,' . + \ '%f: syntax error at line %l: %m,' . + \ '%f[%l]: %m' return SyntasticMake({ \ 'makeprg': makeprg,