mirror of https://github.com/folke/lazy.nvim.git
fix: only run updated checker for installed plugins. Fixes #16
This commit is contained in:
parent
7225b055f5
commit
ae644a604d
|
@ -16,6 +16,7 @@ end
|
|||
|
||||
function M.fast_check()
|
||||
for _, plugin in pairs(Config.plugins) do
|
||||
if plugin._.installed then
|
||||
plugin._.has_updates = nil
|
||||
local info = Git.info(plugin.dir)
|
||||
local target = Git.get_target(plugin)
|
||||
|
@ -23,6 +24,7 @@ function M.fast_check()
|
|||
plugin._.has_updates = true
|
||||
end
|
||||
end
|
||||
end
|
||||
M.report()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue