From c6407e55e884e45a5f730a054819d56871eb8edb Mon Sep 17 00:00:00 2001 From: ldx Date: Wed, 28 Mar 2012 14:40:19 +0200 Subject: [PATCH] Fix makeprg construction for cpp too. --- syntax_checkers/cpp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/cpp.vim b/syntax_checkers/cpp.vim index 20528e47..16bebde3 100644 --- a/syntax_checkers/cpp.vim +++ b/syntax_checkers/cpp.vim @@ -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,