It's easier than I expected.
You don't need to download clang
You only need clang_complete plugin
then set
let g:clang_library_path="/Developer/usr/clang-ide/lib/"
in vim
the clang library has been installed by xcode.
hit ctrl+x ctrl+u to force auto complete
没有评论:
发表评论