]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - add-coc-vim-extensions
Use fzf
[rbdr/dotfiles] / add-coc-vim-extensions
index 91e41d3db62b7faad1f3cec1a2893c76084ce91a..384ae85588ee5919244daa265729104673bcf044 100755 (executable)
@@ -1,17 +1,20 @@
 #!/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-flutter\
   coc-git\
   coc-css\
   coc-docker\
   coc-eslint\
   coc-flutter\
   coc-git\
-  coc-graphql\
   coc-html\
   coc-htmldjango\
   coc-json\
   coc-lua\
   coc-prettier\
   coc-html\
   coc-htmldjango\
   coc-json\
   coc-lua\
   coc-prettier\
+  |\
+  CocInstall -sync \
   @yaegassy/coc-pylsp\
   coc-rls\
   coc-sql\
   @yaegassy/coc-pylsp\
   coc-rls\
   coc-sql\
@@ -20,4 +23,6 @@ nvim -c "CocInstall \
   coc-tailwindcss\
   coc-tsserver\
   coc-yaml\
   coc-tailwindcss\
   coc-tsserver\
   coc-yaml\
-"
+  |\
+  qall \
+"\