More seamless integration with git and dev plugins [experimental] #530
mrcjkb
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
With
rocks.nvim 2.40.0, we are excited to introduce a new experimental feature that further enhances:This feature tricks luarocks into recognising plugins managed by
rocks-git.nvimorrocks-dev.nvimas dependencies of luarocks packages.
Now, these extensions can automatically install dependencies from luarocks.org
if they detect a rockspec in the repository root.
What's does this improve?
Previously, managing a plugin with
rocks-git.nvimorrocks-dev.nvimrequired manually handling any dependencies.You also had to manage any plugins that depend on it with one of the two extensions.
This approach was cumbersome and deviated from the convenience of automatic dependency management.
Why is this feature experimental?
Because there’s a possibility that it might not work as intended in all scenarios.
We’re eager to hear your feedback and encourage you to enable this feature and report any issues you encounter.
Your input will be invaluable in refining it!
How do I enable it?
Ensure that
rocks.nvimand its extensions are updated to the latest version.Then, add the following configuration to your
rocks.nvimsetup:Note
If you are already using Git or dev plugins with LuaRocks dependencies,
you may need to reinstall them after enabling this feature.
When will it become stable?
This feature will move out of the experimental stage once it has been thoroughly tested and we’re confident it doesn’t introduce any issues.
Your feedback is crucial to this process.
Warning
As this is an experimental feature, the API may change without a major SemVer version bump.
However, as long as you keep your
rocks.nvimextensions up-to-date, this shouldn't cause any disruptions.All reactions