mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 11:24:14 +00:00
fix(checker): allow git checks only for non-pinned plugins
This commit is contained in:
parent
4ca30390ec
commit
70e2393f89
2 changed files with 4 additions and 1 deletions
|
@ -8,6 +8,9 @@ local M = {}
|
|||
M.log = {
|
||||
---@param opts {updated?:boolean, check?: boolean}
|
||||
skip = function(plugin, opts)
|
||||
if opts.check and plugin.pin then
|
||||
return true
|
||||
end
|
||||
if opts.updated and not (plugin._.updated and plugin._.updated.from ~= plugin._.updated.to) then
|
||||
return true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue