Install Youcompleteme with pathogen in neovim

Updated

Notes for installing YCM with pathogen, Mac environment.

Prerequisites:


# 1. Install neovim
brew install neovim

# 2. Install neovim python provider
# https://neovim.io/doc/user/provider.html#provider-python
pip3 install --upgrade neovim

# 3. Install YouCompleteMe
cd ~/.vim/bundle
git clone https://github.com/Valloric/YouCompleteMe.git && cd $_
git submodule update --init --recursive
# here i use system clang rather than downloading, and i only need c family, golang, javascript, rust completer
python3 install.py  --system-libclang --clang-completer --go-completer --js-completer --rust-completer