Ubuntu 18.04安装时遇到如下的错误:
ycmd/third_party/cregex" does not appear to contain CMakeLists.txt
查看:~/.vim/bundle/YouCompleteMe/third_party/ycmd/.gitmodules文件
25 [submodule "third_party/cregex"]
26 path = third_party/cregex
27 url = https://github.com/micbou/regex.git
从上述github url下载regex下来,然后解压成 cregex/,
python3 install.py --clangd-complete
终于成功了!之前网上一些说明, 先删除cregex目录,再执行git submodule update --init --recursive 不起作用。
网友评论