From 6d4a1b2bd9744946f4a9afaf93f0538907ed22c2 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Tue, 17 Sep 2024 13:10:27 -0700 Subject: [PATCH] Use lazylock when loading --- docker/Dockerfile | 2 +- vim-sync-append.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 1180a0e..8884358 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -55,7 +55,7 @@ RUN ./install-helpers.py COPY --chown=vividboarder:users ./neovim $HOME/.config/nvim # Sync packer plugins -RUN nvim --headless "+Lazy! sync" +qa +RUN nvim --headless "+Lazy! restore" +qa # Bootstrap treesitter parsers RUN nvim --headless -c "lua require('plugins.treesitter').bootstrap()" -c quitall diff --git a/vim-sync-append.sh b/vim-sync-append.sh index 538a2ce..4cf7dad 100755 --- a/vim-sync-append.sh +++ b/vim-sync-append.sh @@ -25,7 +25,7 @@ mkdir -p "${XDG_CONFIG_HOME:=$HOME/.config}" echo "Install all bundles" if hash nvim 2>/dev/null; then # Sync packer plugins - nvim --headless "+Lazy! sync" +qa + nvim --headless "+Lazy! restore" +qa # Bootstrap treesitter parsers nvim --headless -c "lua require('plugins.treesitter').bootstrap()" -c quitall fi