5
clang_complete模式所以我有一个非常基本的C程序尝试和测试clang_complete
:没有发现C的结构
#include <stdio.h>
#include <stdlib.h>
struct xampl {
int x;
};
int main()
{
struct xampl structure;
struct xampl *ptr1;
}
然而,每一次我尝试做结构。或ptr1->
,节目给我的错误:
User defined completion (
^U^N^P
) Pattern not found.
我尝试添加这对我vimrc
:
let g:clang_user_options='|| exit 0' --
(从this thread),但是,完成仍然无法正常工作。
有什么我失踪或不理解在这里?
对不起,我的意思是,PTR1。我的vim目录中没有.clang_complete文件,并且FAQ对于如何解决未发现的模式问题非常模糊。我应该在哪里放置/创建.clang_complete文件?由于 – Dasun
我解决了这个问题。不知道你已经安装了clang的工作。感谢您的线程链接! – Dasun