From f0457c42d54b8ea100e675f616c202d911e5f852 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Wed, 29 Jan 2020 22:39:26 -0600 Subject: [PATCH] fix(install): finish installation of coc.nvim --- install | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/install b/install index 5117205..c4220fc 100755 --- a/install +++ b/install @@ -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