From f1e8564ca7d5f73dcc14e3476ac346621ba78b6b Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Fri, 3 Jan 2014 10:13:34 +0200 Subject: [PATCH] Minor fix: use clang++ instead of clang for C++. --- syntax_checkers/cpp/gcc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/cpp/gcc.vim b/syntax_checkers/cpp/gcc.vim index 586d022b..c55b9c6b 100644 --- a/syntax_checkers/cpp/gcc.vim +++ b/syntax_checkers/cpp/gcc.vim @@ -16,7 +16,7 @@ endif let g:loaded_syntastic_cpp_gcc_checker = 1 if !exists('g:syntastic_cpp_compiler') - let g:syntastic_cpp_compiler = executable('g++') ? 'g++' : 'clang' + let g:syntastic_cpp_compiler = executable('g++') ? 'g++' : 'clang++' endif function! SyntaxCheckers_cpp_gcc_IsAvailable() dict