From c57fe3a92af5d8dd0ff48011b51356d55a7db9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Fri, 5 Aug 2016 10:04:58 +0200 Subject: [PATCH] Do not invoke YCM when no vim --- common/configure_fresh_system | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/common/configure_fresh_system b/common/configure_fresh_system index 8fa2cf4b..c79dd2d1 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -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