mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
feat: rewrite some known plugins to lazy specs instead of luarocks (plenary.nvim). Closes #1540
This commit is contained in:
parent
1446f6cfbb
commit
a089d43dba
2 changed files with 28 additions and 2 deletions
|
@ -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 {},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue