Permalink
Browse files

Fix makeprg construction for cpp too.

  • Loading branch information...
1 parent 2ef26e1 commit c6407e55e884e45a5f730a054819d56871eb8edb ldx committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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,

0 comments on commit c6407e5

Please sign in to comment.