add multiple launches of neovim to fight back the github throttling

This commit is contained in:
Maciej Lebiest 2023-11-19 16:55:06 +01:00
parent 422e04b23c
commit 5046d62fcc

View file

@ -69,7 +69,12 @@ RUN rm /root/.config/nvim/lazy-lock.json || true
# install lsp and linters using mason
RUN nvim --headless +TSUpdateSync \
+"MasonInstall ${MASON_PKGS}" \
+qa ; chown -R root:root /root/.local/share/nvim/mason/packages/sqlls/node_modules/sql-language-server/
+qa ; \
nvim --headless +TSUpdateSync \
+qa; \
nvim --headless +TSUpdateSync \
+qa; \
chown -R root:root /root/.local/share/nvim/mason/packages/sqlls/node_modules/sql-language-server/
RUN echo $'[ -f /usr/share/fzf/key-bindings.bash ] && source /usr/share/fzf/key-bindings.bash \n\
[ -f /usr/share/fzf/shell/key-bindings.bash ] && source /usr/share/fzf/shell/key-bindings.bash \n\