mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
fix(checker): allow git checks only for non-pinned plugins (#61)
This commit is contained in:
parent
57bea32e4f
commit
a939243639
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