Check return in language_check.

This commit is contained in:
LCD 47 2014-01-06 10:41:47 +02:00
parent 2f1ef31c03
commit 76e096c151

View File

@ -19,11 +19,10 @@ function! SyntaxCheckers_text_language_check_GetLocList() dict
let errorformat =
\ '%f:%l:%c: %m'
let loclist = SyntasticMake({
return SyntasticMake({
\ 'makeprg': makeprg,
\ 'errorformat': errorformat})
return loclist
\ 'errorformat': errorformat,
\ 'returns': [0, 2] })
endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({