Installing YCM manually

Junegunn Choi 2016-10-01 22:28:55 +09:00
parent f135bf4f97
commit c2c3a99e4d

11
faq.md

@ -275,6 +275,17 @@ Workarounds are as follows:
- In this case single-threaded vimscript installer, which never times out, is used
- Asynchronous Neovim installer does not implement timeout.
### Installing YouCompleteMe manually
[YouCompleteMe](https://github.com/Valloric/YouCompleteMe) is an exceptionally large plugin that can take a very long time to download and compile and it also takes a large amount of disk space. For this reason, one may want to download and update YouCompleteMe manually only when it is needed. Install it on any directory you prefer and pass the name of the directory to the `Plug` command.
```vim
" Assuming that you have installed (or will install) YCM in ~/.vim/plugged/YouCompleteMe
Plug '~/.vim/plugged/YouCompleteMe'
```
vim-plug will load the plugin, but it will not try to install or update YouCompleteMe.
### fatal: dumb http transport does not support --depth
Apparently the git option `--depth 1` requires SSL on the remote Git server. It is now default, to reduce download size. To get around this, you can: