clang完全不工作 [英] clang complete doesn't work
本文介绍了clang完全不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我为vim安装了clang_complete,但它不工作。例如:当我在带vim的c ++文件中键入 std ::
时,vim的窗口底部显示:
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
$ b b
我如何解决这个问题?
How can I solve this?
推荐答案
The common solution to this appears to be to add:
let g:clang_user_options='|| exit 0'
到您的.vimrc文件。
to your .vimrc file.
这篇关于clang完全不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文