Check return in language_check.
This commit is contained in:
parent
2f1ef31c03
commit
76e096c151
@ -19,11 +19,10 @@ function! SyntaxCheckers_text_language_check_GetLocList() dict
|
|||||||
let errorformat =
|
let errorformat =
|
||||||
\ '%f:%l:%c: %m'
|
\ '%f:%l:%c: %m'
|
||||||
|
|
||||||
let loclist = SyntasticMake({
|
return SyntasticMake({
|
||||||
\ 'makeprg': makeprg,
|
\ 'makeprg': makeprg,
|
||||||
\ 'errorformat': errorformat})
|
\ 'errorformat': errorformat,
|
||||||
|
\ 'returns': [0, 2] })
|
||||||
return loclist
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user