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:
Gregor Uhlenheuer 2013-03-24 11:23:43 -07:00
commit 747fed932d

View File

@ -33,6 +33,10 @@ function! SyntaxCheckers_c_make_GetLocList()
\ '%tarning: %m,%f:%l:%c: %m,%f:%l: %trror: %m,'.
\ '%f:%l: %tarning: %m,%f:%l: %m'
if exists('g:syntastic_c_errorformat')
let errorformat = g:syntastic_c_errorformat
endif
" process makeprg
let errors = SyntasticMake({ 'makeprg': makeprg,
\ 'errorformat': errorformat })