From 6ab3585b7bae41c29d4cbbcbc65993a6902e44c8 Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Mon, 4 Nov 2024 19:06:40 -0500 Subject: [PATCH] wait 30s till TSUpdate completes --- .dockerignore | 1 + install.sh | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..ed0e3f9 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +plugged diff --git a/install.sh b/install.sh index 262853e..1bca940 100755 --- a/install.sh +++ b/install.sh @@ -11,7 +11,9 @@ all() { cat ${TMPDIR}/PlugInstall.out nvim -c PlugStatus -c "write ${TMPDIR}/PlugStatus.out" -c quitall cat ${TMPDIR}/PlugStatus.out - nvim -c TSUpdate -c quitall + + # sleep 20s, no way I know to wait until everything is installed + nvim -c "TSUpdate" -c "30sleep" -c quitall lang_server ruby lang_server typescript @@ -25,7 +27,7 @@ install_brew_deps() { install_apk_deps() { if command -v apk > /dev/null; then - apk add nodejs npm ruby ruby-dev make clang + apk add nodejs npm ruby ruby-dev make clang ripgrep fi }