From 1ddbee6ecbff9a60e70f81a4c0e9aca638ba0cca Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 14 Mar 2025 17:52:12 +0800 Subject: [PATCH] Makefile: add command for updating lazy.nvim lockfile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 32f568b..059d2d6 100644 --- a/Makefile +++ b/Makefile @@ -20,3 +20,7 @@ update: .PHONY: dry-run dry-run: ./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "stow --stow {package} --target {location} --simulate" + +.PHONY: nvim-lockfile-update +nvim-lockfile-update: + git checkout -- ./nvim/lazy-lock.json && nvim --headless "+Lazy! sync" "+qa" && git commit --message "nvim: update lazy.nvim lockfile as of $(shell date "+%F")" -- ./nvim/lazy-lock.json