feat: added support for plugin packages by lazy, rockspec and packspec

This commit is contained in:
Folke Lemaitre 2024-06-18 21:54:54 +02:00
parent f1ba2e3d05
commit 3be55a4615
11 changed files with 281 additions and 171 deletions

View file

@ -35,11 +35,11 @@ M.commands = {
vim.cmd.checkhealth("lazy")
end,
pkg = function(opts)
local Pkg = require("lazy.core.packspec")
local Pkg = require("lazy.pkg")
Pkg.update()
require("lazy.manage.reloader").reload({
{
file = "packspec", --Config.options.packspec.path,
file = "pkg",
what = "changed",
},
})