Skip to content

Commit 42f5aa7

Browse files
committed
fix: pass plugins instead of plugin names to command. Fixes #103
1 parent 4bf771a commit 42f5aa7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/lazy/view/commands.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ function M.setup()
8383
local opts = { wait = cmd.bang == true }
8484
local prefix, args = M.parse(cmd.args)
8585
if #args > 0 then
86-
opts.plugins = args
86+
opts.plugins = vim.tbl_map(function(plugin)
87+
return Config.plugins[plugin]
88+
end, args)
8789
end
8890
M.cmd(prefix, opts)
8991
end, {

0 commit comments

Comments
 (0)