wklken/k-vim

mac安装

YunYang1994 opened this issue · 2 comments

你好,我用这个vim配置很久了,但是最近发现在mac上安装出现了问题

CMake Error: The source directory "/Users/yangyun/k-vim/bundle/YouCompleteMe/third_party/ycmd/third_party/cregex" does not appear to contain CMakeLists.txt.

请问有解决的思路吗?

cd ~/.vim/bundle/YouCompleteMe
git submodule update --init --recursive

python install.py --clang-completer --system-libclang
or 
python install.py --clang-completer

这个报错应该是你本地拉到的ycm的third_party中部分包有问题, 尝试更新下

Cloning into '/Users/yangyun/k-vim/bundle/YouCompleteMe/third_party/ycmd/third_party/go/src/golang.org/x/tools'...
fatal: unable to access 'https://go.googlesource.com/tools/': Failed to connect to go.googlesource.com port 443: Operation timed out
fatal: clone of 'https://go.googlesource.com/tools' into submodule path '/Users/yangyun/k-vim/bundle/YouCompleteMe/third_party/ycmd/third_party/go/src/golang.org/x/tools' failed
Failed to clone 'third_party/go/src/golang.org/x/tools'. Retry scheduled

好像一直下载不了,即使我用翻墙软件也没下载成功