diff --git a/install/vim b/install/vim index 1b847944..738a9884 100755 --- a/install/vim +++ b/install/vim @@ -22,4 +22,11 @@ fi echo "\n* Updating vim..." vim +BundleInstall! +BundleClean! +q +q +if [ ! -e ~/.vim/bundle/YouCompleteMe/python/ycm_core.so ]; then + echo "\n* Trying to compile YCM" + brew install cmake + cd ~/.vim/bundle/YouCompleteMe + ./install.sh --clang-completer +fi + echo "\nDone!"