feat: rewrite some known plugins to lazy specs instead of luarocks (plenary.nvim). Closes #1540

This commit is contained in:
Folke Lemaitre 2024-06-24 21:57:34 +02:00
parent 1446f6cfbb
commit a089d43dba
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 28 additions and 2 deletions

View file

@ -14,6 +14,7 @@ M.dirty = false
---@class LazyPkgSpec
---@field file string
---@field source? string
---@field spec? LazySpec
---@field code? string
@ -54,7 +55,7 @@ function M.update()
local pkg = {
name = plugin.name,
dir = plugin.dir,
source = source.name,
source = spec.source or source.name,
file = spec.file,
spec = spec.spec or {},
}