fix(install): move coc to after solarized

Running the command too soon threw an error due to the color scheme file
not being present.
This commit is contained in:
Josh Sherman 2020-01-29 22:44:06 -06:00
parent dfa9547de4
commit 9dc104c070
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -107,11 +107,11 @@ for INDEX in ${!VIMPLUGS[*]}; do
$GITCLONE "https://github.com/$VIMPLUG.git" "$HOME/.vim/pack/plugins/start/$PLUGDIR"
done
curl -o "$HOME/.vim/colors/solarized.vim" https://raw.githubusercontent.com/altercation/vim-colors-solarized/master/colors/solarized.vim
# Finishes installing CoC
vim +"call coc#util#install()" +qa
curl -o "$HOME/.vim/colors/solarized.vim" https://raw.githubusercontent.com/altercation/vim-colors-solarized/master/colors/solarized.vim
cd "$HOME" || exit
rm -f "${HOME}/.zcompdump*"