Minor fix: use clang++ instead of clang for C++.
This commit is contained in:
parent
c73855dff5
commit
f1e8564ca7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user