We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Lazy load all
1 parent 53e1c49 commit 11131eaCopy full SHA for 11131ea
lua/lazy/view/commands.lua
@@ -69,6 +69,9 @@ function M.complete(cmd, prefix)
69
end
70
---@type string[]
71
local plugins = {}
72
+ if cmd == "load" then
73
+ plugins[#plugins + 1] = "all"
74
+ end
75
for name, plugin in pairs(Config.plugins) do
76
if cmd ~= "load" or not plugin._.loaded then
77
plugins[#plugins + 1] = name
@@ -86,6 +89,9 @@ function M.setup()
86
89
---@type ManagerOpts
87
90
local opts = { wait = cmd.bang == true }
88
91
local prefix, args = M.parse(cmd.args)
92
+ if #args == 1 and args[1] == "all" then
93
+ args = vim.tbl_keys(Config.plugins)
94
95
if #args > 0 then
96
---@param plugin string
97
opts.plugins = vim.tbl_map(function(plugin)
0 commit comments