-
I'm trying to add git trigger to my dotfiles, so when I pull changes nvim automatically restore plugins to locked versions. I tried |
Beta Was this translation helpful? Give feedback.
Answered by
iton0
Feb 13, 2025
Replies: 1 comment 1 reply
-
You may want to try headless mode. This is what I currently use for my dotfiles that runs on a post-merge hook: nvim --headless "+Lazy! restore" "+Lazy! clean" +qa |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
aShabat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may want to try headless mode. This is what I currently use for my dotfiles that runs on a post-merge hook: