fix(install): finish installation of coc.nvim

This commit is contained in:
Josh Sherman 2020-01-29 22:39:26 -06:00
parent 096a641aad
commit f0457c42d5
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -101,11 +101,6 @@ VIMPLUGS=(
# "Quramy/tsuquyomi"
)
# TODO: COC needs some command run to work properly. It runs inside of vim and
# for the life of me, I can't remember how to run a command outside of vim.
# Also, as it turns out, I can't remember what the heck the command was that
# needed to be run.
for INDEX in ${!VIMPLUGS[*]}; do
VIMPLUG="${VIMPLUGS[$INDEX]}"
PLUGDIR=$(echo "$VIMPLUG" | cut -d '/' -f2)
@ -113,6 +108,9 @@ for INDEX in ${!VIMPLUGS[*]}; do
$GITCLONE "https://github.com/$VIMPLUG.git" "$HOME/.vim/pack/plugins/start/$PLUGDIR"
done
# 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