Merge pull request #536 from trprice/master
Make.vim - Check g:syntastic_c_errorformat so that users can provide their own error format
This commit is contained in:
commit
747fed932d
@ -33,6 +33,10 @@ function! SyntaxCheckers_c_make_GetLocList()
|
|||||||
\ '%tarning: %m,%f:%l:%c: %m,%f:%l: %trror: %m,'.
|
\ '%tarning: %m,%f:%l:%c: %m,%f:%l: %trror: %m,'.
|
||||||
\ '%f:%l: %tarning: %m,%f:%l: %m'
|
\ '%f:%l: %tarning: %m,%f:%l: %m'
|
||||||
|
|
||||||
|
if exists('g:syntastic_c_errorformat')
|
||||||
|
let errorformat = g:syntastic_c_errorformat
|
||||||
|
endif
|
||||||
|
|
||||||
" process makeprg
|
" process makeprg
|
||||||
let errors = SyntasticMake({ 'makeprg': makeprg,
|
let errors = SyntasticMake({ 'makeprg': makeprg,
|
||||||
\ 'errorformat': errorformat })
|
\ 'errorformat': errorformat })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user