justmao945 / vim-clang

Clang completion plugin for vim
ISC License
358 stars 47 forks source link

Fix broken compilation_database support broken by #137 #138

Closed smekkley closed 4 years ago

smekkley commented 4 years ago

As well as fixing the current bug, I added a patch to make it work when you run vim command in any subdirectories of a project where it contains a build directory and a compilation-database json.

By the way, thank you for creating a great plugin. @justmao945 It's the simplest among c/c++ completion vim plugins. I just need to put stuff in plugins directory. YouCompleteMe had too many dependencies for me to even install and run. I didn't get what I want in xavierd/clang_complete either.