]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - add-coc-vim-extensions
Use difftastic, apply java set home
[rbdr/dotfiles] / add-coc-vim-extensions
index 91e41d3db62b7faad1f3cec1a2893c76084ce91a..86b22596054989148ce5db0a01ecf18e9144b1c3 100755 (executable)
@@ -1,6 +1,8 @@
 #!/usr/bin/env bash
 
 #!/usr/bin/env bash
 
-nvim -c "CocInstall \
+# we need to do it in batches, otherwise it fails
+
+nvim --headless -c "CocInstall -sync \
   coc-css\
   coc-docker\
   coc-eslint\
   coc-css\
   coc-docker\
   coc-eslint\
@@ -12,6 +14,8 @@ nvim -c "CocInstall \
   coc-json\
   coc-lua\
   coc-prettier\
   coc-json\
   coc-lua\
   coc-prettier\
+  |\
+  CocInstall -sync \
   @yaegassy/coc-pylsp\
   coc-rls\
   coc-sql\
   @yaegassy/coc-pylsp\
   coc-rls\
   coc-sql\
@@ -20,4 +24,6 @@ nvim -c "CocInstall \
   coc-tailwindcss\
   coc-tsserver\
   coc-yaml\
   coc-tailwindcss\
   coc-tsserver\
   coc-yaml\
-"
+  |\
+  qall \
+"\