Replies: 1 comment
|
Hey 👋 1)Yes, The rocks.nvim help page links to: from which you can navigate to the follwing by following the tags ( Note that 2)
The package manager builds them on the system, unless you specify a binary repository (which rocks.nvim does), in which case pre-built packages that are available on the binary repository will be fetched.
That is up to the plugin authors. LuaRocks and Lux support various built-in build backends ( |
Uh oh!
There was an error while loading. Please reload this page.
Hi. This is primarily 2 overall questions:
1)
Looking through your
readmeand:help rocks-nvimI do not see any direct directions for making the equivalent of abuildpost install/update function.I do see a user event defined as so:
However, the
:helpis not clear as to what is inside ev.data, nor whatever-else it may contain.Looking at your
readme, there is a reference torocks-git.nvim, which when going to it's page clearly shows the simple setup needed forbuild. But, there is no direct mention of this in therocks.nvimreadme.I think this would be helpful to mention in your
rocks.nvimreadme.What is inside
ev.data? And how would I use it? Nvim0.12nightly gives a decent enough example of how to extract the name and type of action from theirPackChangedeventsev.data.Thinking about this further, I don't actually understand how plugins packaged using
luarocks/lux-clihandle this problem, leading to my second question.2)
How do plugins packaged using
luarocks/lux-clihandle this? When you download their package, do these things come prebuilt, or does the package manager build them on system?Speaking specifically to
lux-cli, I think I remember remember seeing it has support for building your Rust dependencies along withmlua. However, what about plugins that require build steps for languages other than C/Rust? Would those plugins only be available as git plugins, or wouldrocks.nvimstill be able to handle them as Lua packages? This is something I am very much wondering about right now.Thank you for this project,
lux-cli, and all the work you guys are doing for improving the Neovim ecosystem. I understand that this specific project is undergoing a major rewrite to uselux-clirather thanluarocks. As such, if the answers provided are for how the rewrite plans to handle these things rather than how they currently are, I would still be more than happy for knowing.All reactions