tpope / vim-apathy

apathy.vim: Set the 'path' option for miscellaneous file types
180 stars 9 forks source link

Add clang support for c/c++ #7

Closed bfrg closed 5 years ago

bfrg commented 5 years ago

If clang available, vim-apathy uses the clang compiler for finding system include paths, and gcc as fallback. Put let g:c_path_compiler = 'gcc' in your vimrc to always use gcc for finding system include directories (for both C and C++).