clang complete doesn't work

clang, clang-complete, vim

Solution

The common solution to this appears to be to add:

let g:clang_user_options='|| exit 0'

to your .vimrc file.

Problem

I installed clang_complete for vim,but it doesn't work. For example: When I typed `std::` in a c++ file with vim, the bottom of vim's window shows that: ``` User defined completion (^U^N^P) Pattern not found ``` How can I solve this?

Original source