I'm having trouble installing the clang_complete plugin for vim on Ubuntu. I built vim from source to enable python support, and I used vim --version
to confirm that it has the following features enabled:
+python/dyn
+python3/dyn
I have my ~/.vim/vimrc setup as follows (nothing omitted):
syntax on
let g:clang_library_path='/usr/local/lib'
Here is the exact error output on vim startup when I try to edit a .cpp file:
Error detected while processing function
<SNR>6_ClangCompleteInit..<SNR>6_initClangCompletePython:
line 2:
clang_complete: No python support available.
line 3: Cannot use
clang library
line 4: Compile vim with python support to use
libclang
Can anyone with clang_complete experience help me out? Thanks!