move YCM to be built after rust and racer are already installed

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-07-09 11:21:52 +02:00
parent f8d88d67a6
commit 80d45b6043

View file

@ -43,10 +43,6 @@ ln -vfs "$DIR/.config/redshift.conf" ~/.config/redshift.conf
source ~/.setenv
cd "$DIR/.vim/bundle/YouCompleteMe/"
git submodule update --init --recursive
./install.py --racer-completer --clang-completer
# symlink 'nodejs' as node on some systems
# will replace symlink if it exists, but won't replace regular file
if [[ ! -f /usr/bin/node ]]; then
@ -92,6 +88,10 @@ fi
cargo install -f rustfmt
cargo install -f racer
cd "$DIR/.vim/bundle/YouCompleteMe/"
git submodule update --init --recursive
./install.py --racer-completer --clang-completer
# go
export GOPATH="$HOME/go"
mkdir -p "$GOPATH"