mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 13:37:36 +00:00
Use lazylock when loading
This commit is contained in:
parent
b4dd7b4d87
commit
6d4a1b2bd9
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user