Do not invoke YCM when no vim

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-08-05 10:04:58 +02:00
parent 1f8566dba5
commit c57fe3a92a

View file

@ -101,14 +101,13 @@ fi
if [[ -z $NOVIM ]]; then
echo "\n" | vim +PluginInstall +qa
fi
cd "$DIR/.vim/bundle/YouCompleteMe/"
git submodule update --init --recursive
if [[ -z $NORUST ]]; then
./install.py --racer-completer --clang-completer
else
./install.py --clang-completer
cd "$DIR/.vim/bundle/YouCompleteMe/"
git submodule update --init --recursive
if [[ -z $NORUST ]]; then
./install.py --racer-completer --clang-completer
else
./install.py --clang-completer
fi
fi
if [[ -z $NO_GO ]]; then