Skip to content

Commit c33da88

Browse files
author
nEk0
committed
发布v1.0.0正式版
1 parent 31f5904 commit c33da88

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,12 @@ ln -s ${repo_path}/.tern-project ~/.tern-project
9696
如果你顺利的完成了插件的下载,还有最后一项工作,编译YouCompleteMe:
9797

9898
```shell
99-
cd ~/.vim/bundle/YouCompleteMe && python ./install.py --clang-completer --js-completer --system-libclang && cd -
99+
# 指定`--system-libclang`可以让YCM使用系统本地的clang版本,可以用来解决可能出现的下载clang过慢的问题。
100+
# 但是我非常不建议这么做,可以用下面提到的另一种办法来解决这个问题
101+
cd ~/.vim/bundle/YouCompleteMe && python ./install.py --clang-completer --js-completer && cd -
100102
```
101103

102-
> 指定`--system-libclang`可以让YCM使用系统本地的clang版本,不指定的情况下安装脚本将会从clang官网下载最新的版本,在大陆地区这个速度会非常慢。预计在正式版本v1.0.0开始将不再建议用户使用该选项,因为这可能导致某些情况下c++补全失效。如果下载太慢,可以自行在官网下载最新的包,然后拷贝至`./bundle/YouCompleteMe/third_party/ycmd/clang_archives`目录下(不需要解压缩)
104+
> 如果下载太慢,可以自行在官网下载最新的包,然后拷贝至`./bundle/YouCompleteMe/third_party/ycmd/clang_archives`目录下(不需要解压缩)
103105
104106
注意,在执行`install.py`时,如果你的Vim之前显示的是`+ Python`(即拥有python2支持),请使用python2执行该文件,否则请使用python3.3以上的版本执行。
105107

0 commit comments

Comments
 (0)