You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm maintaining this fork, with lots of code refactored and simplified, for
better integration with NCM.
Here's some of the work in brief.
Builtin parameter expansion snippet engine removed in favor of ultisnips.
Quickfix feature removed in favor of neomake or syntastic, etc.
Builtin omnifunc/completefunc with threading, and some default insert
mode mapping removed, in favor of NCM.
Requirements
clang installed on your system. (eg. yum install clang clang-devel or
apt-get install libclang-dev)
To get clang_complete working with
NCM you must install the
neovim Python package for Python 2.
clang_complete is invoked with the Python 2 interpreter, not the Python 3
interpreter, because the clang Python bindings only support Python 2.
Set the clang_library_path to the directory containing file named
libclang.{dll,so,dylib} (for Windows, Unix variants and OS X respectively)
or the file itself, example:
" path to directory where library can be foundletg:clang_library_path='/usr/lib/llvm-3.8/lib'" or path directly to the library fileletg:clang_library_path='/usr/lib64/libclang.so.3.8'
Makefile example for auto-generating .clang_complete
.clang_complete: Makefile
echo$(CXXFLAGS)>$@
If you are using cmake, unfortunately, I don't have a decent hack.
This
might work. Currently I use make VERBOSE=1 to show the compile command and
then edit the .clang_complete manually.