Do not invoke YCM when no vim
This commit is contained in:
parent
1f8566dba5
commit
c57fe3a92a
1 changed files with 7 additions and 8 deletions
|
@ -101,8 +101,6 @@ fi
|
||||||
|
|
||||||
if [[ -z $NOVIM ]]; then
|
if [[ -z $NOVIM ]]; then
|
||||||
echo "\n" | vim +PluginInstall +qa
|
echo "\n" | vim +PluginInstall +qa
|
||||||
fi
|
|
||||||
|
|
||||||
cd "$DIR/.vim/bundle/YouCompleteMe/"
|
cd "$DIR/.vim/bundle/YouCompleteMe/"
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
if [[ -z $NORUST ]]; then
|
if [[ -z $NORUST ]]; then
|
||||||
|
@ -110,6 +108,7 @@ if [[ -z $NORUST ]]; then
|
||||||
else
|
else
|
||||||
./install.py --clang-completer
|
./install.py --clang-completer
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -z $NO_GO ]]; then
|
if [[ -z $NO_GO ]]; then
|
||||||
export GOPATH="$HOME/go"
|
export GOPATH="$HOME/go"
|
||||||
|
|
Loading…
Reference in a new issue