Modify install files

This commit is contained in:
wyg1997 2019-11-05 16:09:31 +08:00
parent 9d5ab1b6c6
commit 5384001eba

View File

@ -398,7 +398,7 @@ function install_ycm()
cd ~/.vim/plugged/YouCompleteMe
read -p "Please choose to compile ycm with python2 or python3, if there is a problem with the current selection, please choose another one. [2/3] " version
if [ $version == "2" ]; then
if [[ $version == "2" ]]; then
echo "Compile ycm with python2."
python2.7 ./install.py --clang-completer
else