mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-11-05 17:01:16 +00:00
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.
This commit is contained in:
parent
6c3bda4aca
commit
1687639320
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ local M = {}
|
||||||
M.log = {
|
M.log = {
|
||||||
---@param opts {updated?:boolean, check?: boolean}
|
---@param opts {updated?:boolean, check?: boolean}
|
||||||
skip = function(plugin, opts)
|
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
|
return true
|
||||||
end
|
end
|
||||||
if opts.updated and not (plugin._.updated and plugin._.updated.from ~= plugin._.updated.to) then
|
if opts.updated and not (plugin._.updated and plugin._.updated.from ~= plugin._.updated.to) then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue