Check exit code in rstcheck.

This commit is contained in:
LCD 47 2014-01-06 13:09:12 +02:00
parent 5406a3ab3c
commit 4abf0ec15e

View File

@ -25,7 +25,8 @@ function! SyntaxCheckers_rst_rstcheck_GetLocList() dict
let loclist = SyntasticMake({ let loclist = SyntasticMake({
\ 'makeprg': makeprg, \ 'makeprg': makeprg,
\ 'errorformat': errorformat }) \ 'errorformat': errorformat,
\ 'returns': [0, 1] })
for e in loclist for e in loclist
if e['type'] ==? 'S' if e['type'] ==? 'S'