Clang tools: check exit codes.
This commit is contained in:
parent
825b29a9be
commit
4cda4c3e0a
@ -46,7 +46,8 @@ function! SyntaxCheckers_c_clang_check_GetLocList() dict
|
|||||||
let loclist = SyntasticMake({
|
let loclist = SyntasticMake({
|
||||||
\ 'makeprg': makeprg,
|
\ 'makeprg': makeprg,
|
||||||
\ 'errorformat': errorformat,
|
\ 'errorformat': errorformat,
|
||||||
\ 'defaults': {'bufnr': bufnr('')} })
|
\ 'defaults': {'bufnr': bufnr('')},
|
||||||
|
\ 'returns': [0, 1] })
|
||||||
|
|
||||||
call self.setWantSort(1)
|
call self.setWantSort(1)
|
||||||
|
|
||||||
|
@ -46,7 +46,8 @@ function! SyntaxCheckers_c_clang_tidy_GetLocList() dict
|
|||||||
let loclist = SyntasticMake({
|
let loclist = SyntasticMake({
|
||||||
\ 'makeprg': makeprg,
|
\ 'makeprg': makeprg,
|
||||||
\ 'errorformat': errorformat,
|
\ 'errorformat': errorformat,
|
||||||
\ 'defaults': {'bufnr': bufnr('')} })
|
\ 'defaults': {'bufnr': bufnr('')},
|
||||||
|
\ 'returns': [0, 1] })
|
||||||
|
|
||||||
call self.setWantSort(1)
|
call self.setWantSort(1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user