Open joshuadavidthomas opened 10 months ago
If a new autocmd
, probably need to target the LazyPre*
events -- https://github.com/folke/lazy.nvim#-user-events
Alternatively, instead of having this all automatically happen, I could also add some keymaps to deal with fetching, pulling, and pushing lazy-lock.json
. I would just have to remember to execute them after updating the lazy plugins. A bit more work manually, but it's a bit simpler codewise and would save the work of having to sort out the automatic updating.
Should do a
yadm fetch
andyadm checkout -- ~/.config/nvim/lazy-lock.json
to get the latest version of the lock file.Either need a new
autocmd
or adjust this one:https://github.com/joshuadavidthomas/dotfiles/blob/380e59ea7dad6d961853c3e3af7a189d2f46f165/.config/nvim/lua/josh/autocmds.lua#L95-L121