From 16876393209b76bdff2b28c07b42035f7d85137b Mon Sep 17 00:00:00 2001 From: Daniel Danner Date: Tue, 2 Sep 2025 23:29:04 +0200 Subject: [PATCH] Make check_pinned work as intended Skip "git.log" when check and pin is true if check_pinned isn't enabled. Otherwise, the checker will not actually check pinned plugins but silently skip them. --- lua/lazy/manage/task/git.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/manage/task/git.lua b/lua/lazy/manage/task/git.lua index ef848f9..e5bc9d5 100644 --- a/lua/lazy/manage/task/git.lua +++ b/lua/lazy/manage/task/git.lua @@ -55,7 +55,7 @@ local M = {} M.log = { ---@param opts {updated?:boolean, check?: boolean} skip = function(plugin, opts) - if opts.check and plugin.pin then + if opts.check and plugin.pin and not Config.options.checker.check_pinned then return true end if opts.updated and not (plugin._.updated and plugin._.updated.from ~= plugin._.updated.to) then