Skip to content

Commit

Permalink
update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chxuan committed Aug 12, 2018
1 parent dabf003 commit af3989c
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,8 @@ function install_vim_plugin()
vim -c "PlugInstall" -c "q" -c "q"
}

# 在mac平台编译ycm插件
function compile_ycm_on_mac()
{
cd ~/.vim/plugged/YouCompleteMe
./install.py --clang-completer
}

# 在linux平台编译ycm插件
function compile_ycm_on_linux()
# 编译ycm插件
function compile_ycm()
{
cd ~/.vim/plugged/YouCompleteMe
./install.py --clang-completer
Expand Down Expand Up @@ -224,7 +217,7 @@ function install_vimplus_on_mac()
install_fonts_on_mac
download_vim_plug
install_vim_plugin
compile_ycm_on_mac
compile_ycm
print_logo
}

Expand All @@ -234,7 +227,7 @@ function begin_install_vimplus()
install_fonts_on_linux
download_vim_plug
install_vim_plugin
compile_ycm_on_linux
compile_ycm
print_logo
}

Expand Down

0 comments on commit af3989c

Please sign in to comment.