mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36: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
|
@ -16,7 +16,7 @@ end
|
|||
|
||||
function M.fast_check()
|
||||
for _, plugin in pairs(Config.plugins) do
|
||||
if plugin._.installed then
|
||||
if not plugin.pin and plugin._.installed then
|
||||
plugin._.has_updates = nil
|
||||
local info = Git.info(plugin.dir)
|
||||
local ok, target = pcall(Git.get_target, plugin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue