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 =
|
||||
\ '%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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user