mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 21:06:46 +00:00
feat: luarocks support
This commit is contained in:
parent
c2eff4961b
commit
2d4f2cb507
7 changed files with 177 additions and 2 deletions
|
@ -82,12 +82,13 @@ function M.install(opts)
|
|||
pipeline = {
|
||||
"git.clone",
|
||||
{ "git.checkout", lockfile = opts.lockfile },
|
||||
"rocks.install",
|
||||
"plugin.docs",
|
||||
"wait",
|
||||
"plugin.build",
|
||||
},
|
||||
plugins = function(plugin)
|
||||
return plugin.url and not plugin._.installed
|
||||
return plugin.url and not (plugin._.installed and plugin._.rocks_installed ~= false)
|
||||
end,
|
||||
}, opts):wait(function()
|
||||
require("lazy.manage.lock").update()
|
||||
|
@ -106,6 +107,7 @@ function M.update(opts)
|
|||
"git.fetch",
|
||||
"git.status",
|
||||
{ "git.checkout", lockfile = opts.lockfile },
|
||||
"rocks.install",
|
||||
"plugin.docs",
|
||||
"wait",
|
||||
"plugin.build",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue