clang complete doesn't work

匿名 (未验证) 提交于 2019-12-03 02:30:02

问题:

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?

回答1:

The common solution to this appears to be to add:

let g:clang_user_options='|| exit 0' 

to your .vimrc file.



回答2:

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.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!