mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 05:16:45 +00:00
fix(runner): only use Config.plugins when updated. Fixes #1560
This commit is contained in:
parent
804cae0a65
commit
97f4df0824
2 changed files with 14 additions and 3 deletions
|
@ -85,9 +85,11 @@ function M.install(opts)
|
|||
"plugin.docs",
|
||||
{
|
||||
"wait",
|
||||
sync = function()
|
||||
---@param runner Runner
|
||||
sync = function(runner)
|
||||
require("lazy.pkg").update()
|
||||
Plugin.load()
|
||||
runner:update()
|
||||
end,
|
||||
},
|
||||
"plugin.build",
|
||||
|
@ -114,9 +116,11 @@ function M.update(opts)
|
|||
"plugin.docs",
|
||||
{
|
||||
"wait",
|
||||
sync = function()
|
||||
---@param runner Runner
|
||||
sync = function(runner)
|
||||
require("lazy.pkg").update()
|
||||
Plugin.load()
|
||||
runner:update()
|
||||
end,
|
||||
},
|
||||
"plugin.build",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue