Da  Lin
Da Lin

Reputation: 178

clang complete doesn't work

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?

Upvotes: 5

Views: 6857

Answers (2)

oblitum
oblitum

Reputation: 11998

This problem was solved at the issue #178. This was in truth a problem with Clang, I've opened a bug report and it was promptly solved.

Also, I invite you to take a look at my setup.

Upvotes: 2

sjdowling
sjdowling

Reputation: 51

The common solution to this appears to be to add:

let g:clang_user_options='|| exit 0'

to your .vimrc file.

Upvotes: 5

Related Questions