mirror of https://github.com/folke/lazy.nvim.git
feat!: removed the LazyUpdate etc commands. sub-commands only from now on
This commit is contained in:
parent
b89e6bffd2
commit
d4aee2715f
|
@ -81,16 +81,6 @@ function M.setup()
|
||||||
end, vim.tbl_keys(M.commands))
|
end, vim.tbl_keys(M.commands))
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
for name in pairs(M.commands) do
|
|
||||||
local cmd = "Lazy" .. name:sub(1, 1):upper() .. name:sub(2)
|
|
||||||
|
|
||||||
vim.api.nvim_create_user_command(cmd, function()
|
|
||||||
M.cmd(name)
|
|
||||||
end, {
|
|
||||||
desc = "Lazy " .. name,
|
|
||||||
})
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
Loading…
Reference in New Issue