diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-03-02 19:36:08 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-03-02 19:36:08 +0100 |
commit | 7d53a26a6b801251001635e94cd5a08c12304a77 (patch) | |
tree | d963b108d0b2039f9d2536bd61e338ca2aafaa64 /.config/yadm/bootstrap | |
parent | 1deef8e1a82c839120b49188819c8a6880d964f4 (diff) |
proper CocInstall in bootstrap
Diffstat (limited to '.config/yadm/bootstrap')
-rwxr-xr-x | .config/yadm/bootstrap | 6 |
1 files changed, 4 insertions, 2 deletions
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" ] ||\ |