Minor fix: use clang++ instead of clang for C++.

This commit is contained in:
LCD 47 2014-01-03 10:13:34 +02:00
parent c73855dff5
commit f1e8564ca7

View File

@ -16,7 +16,7 @@ endif
let g:loaded_syntastic_cpp_gcc_checker = 1 let g:loaded_syntastic_cpp_gcc_checker = 1
if !exists('g:syntastic_cpp_compiler') 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 endif
function! SyntaxCheckers_cpp_gcc_IsAvailable() dict function! SyntaxCheckers_cpp_gcc_IsAvailable() dict