Nimbin[12]?Mirrors & Forks / syntastic / commits / f2ddb480

syntastic git · master

syntastic vim plugin (fork)

vim fork · first commit 2009-07-10 · last commit 2022-07-10 (4 years ago) · synced 3 days ago · upstream: github.com/vim-syntastic/syntastic

Vim Script 99%
git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gz

Checker sh/sh: update errorformat to allow ksh93.

LCD 47 · 2021-03-15 08:06 · f2ddb480c5afa1c0f155d78e6fc7853fd20f0420

 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,