mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: added :Lazy load foobar.nvim
to load a plugin
This commit is contained in:
parent
8a0da3b27e
commit
2dd6230018
4 changed files with 52 additions and 21 deletions
|
@ -83,9 +83,7 @@ function M.commands()
|
|||
for _, mode in ipairs(modes) do
|
||||
if not mode.plugin and commands[mode.name] then
|
||||
lines[#lines + 1] = {
|
||||
("`:Lazy %s`"):format(mode.name) .. " or " .. ("`:Lazy%s`"):format(
|
||||
mode.name:sub(1, 1):upper() .. mode.name:sub(2)
|
||||
),
|
||||
("`:Lazy %s`"):format(mode.name),
|
||||
([[`require("lazy").%s()`]]):format(mode.name),
|
||||
mode.key and ("`<%s>`"):format(mode.key) or "",
|
||||
mode.desc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue