From 7d53a26a6b801251001635e94cd5a08c12304a77 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 2 Mar 2024 19:36:08 +0100 Subject: proper CocInstall in bootstrap --- .config/yadm/bootstrap | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.config/yadm/bootstrap') diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index c152f92..12282d6 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -36,8 +36,10 @@ endtask # note: vim-plug is already installed system-wide (see ./packages-arch) begintask "installing vim plugins" -s nvim --headless +'PlugInstall --sync' +qa &&\ -s nvim --headless +CocUpdateSync +qa +COC_PLUGINS="$(jq --raw-output '.dependencies | keys | join(" ")' \ + "$XDG_CONFIG_HOME/coc/extensions/package.json")" +s nvim --headless +"PlugInstall --sync" +qa &&\ +s nvim --headless +"CocInstall -sync $COC_PLUGINS" +qa endtask [ -e "$HOME/readme.md" ] ||\ -- cgit v1.2.3