Fix makeprg construction for cpp too.

This commit is contained in:
ldx 2012-03-28 14:40:19 +02:00
parent 2ef26e11e9
commit c6407e55e8

View File

@ -113,7 +113,7 @@ function! SyntaxCheckers_cpp_GetLocList()
endif
" add optional config file parameters
let makeprg .= syntastic#c#ReadConfig(g:syntastic_cpp_config_file)
let makeprg .= ' ' . syntastic#c#ReadConfig(g:syntastic_cpp_config_file)
" process makeprg
let errors = SyntasticMake({ 'makeprg': makeprg,