Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions lua/lazy/manage/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ function M.install(opts)
return not (plugin._.installed and not plugin._.build)
end,
}, opts):wait(function()
require("lazy.manage.lock").update()
if not opts.lockfile then
require("lazy.manage.lock").update()
end
require("lazy.help").update()
end)
end
Expand Down Expand Up @@ -132,7 +134,9 @@ function M.update(opts)
return plugin.url and plugin._.installed
end,
}, opts):wait(function()
require("lazy.manage.lock").update()
if not opts.lockfile then
require("lazy.manage.lock").update()
end
require("lazy.help").update()
end)
end
Expand Down