Use lazylock when loading

This commit is contained in:
ViViDboarder 2024-09-17 13:10:27 -07:00
parent b4dd7b4d87
commit 6d4a1b2bd9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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