mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
refactor: pipelines now always run sequential
This commit is contained in:
parent
2abdc681fa
commit
3768256956
5 changed files with 45 additions and 57 deletions
|
@ -47,7 +47,7 @@ end
|
|||
---@param opts? ManagerOpts
|
||||
function M.install(opts)
|
||||
M.run({
|
||||
pipeline = { "git.install", { "plugin.docs", "plugin.run" } },
|
||||
pipeline = { "git.install", "plugin.docs", "plugin.run" },
|
||||
plugins = function(plugin)
|
||||
return plugin.uri and not plugin._.installed
|
||||
end,
|
||||
|
@ -57,7 +57,7 @@ end
|
|||
---@param opts? ManagerOpts
|
||||
function M.update(opts)
|
||||
M.run({
|
||||
pipeline = { "git.update", { "plugin.docs", "plugin.run" }, "git.log" },
|
||||
pipeline = { "git.update", "plugin.docs", "plugin.run", "wait", "git.log" },
|
||||
plugins = function(plugin)
|
||||
return plugin.uri and plugin._.installed
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue