The php checkers needs "guards" postprocessing.

This commit is contained in:
LCD 47 2014-09-04 13:23:48 +03:00
parent 4aadf589be
commit 83b6d6a587
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:syntastic_start
endif
let g:syntastic_version = '3.5.0-6'
let g:syntastic_version = '3.5.0-7'
lockvar g:syntastic_version
" Sanity checks {{{1

View File

@ -38,7 +38,8 @@ function! SyntaxCheckers_php_php_GetLocList() dict
return SyntasticMake({
\ 'makeprg': makeprg,
\ 'errorformat': errorformat })
\ 'errorformat': errorformat,
\ 'postprocess': ['guards'] })
endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({