This repository has been archived by the owner on Jan 23, 2025. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey 👋
Summary
This PR is part of a push to get neovim plugins on luarocks.org.
See also:
With luarocks/rocks.nvim, it is the plugin authors' responsibility to declare dependencies - not the user's.
Installing this plugin, including its dependencies, becomes as simple as
:Rocks install feline.nvim
.Things done:
If they aren't installed explicitly by the user (e.g. with
:Rocks install gitsigns.nvim
), rocks.nvim won't add them to the runtimepath (so they won't impact startup time), but their lua API will be available on thepackage.path
for this plugin to use.gitsigns.nvim has the same workflow, but hasn't been published to luarocks yet (lewis6991/gitsigns.nvim#964 (comment)).
So I would wait with merging this PR until that has been done.
Notes:
Important
For the luarocks workflow to work, someone with a luarocks.org account will have to add their API key to this repo's GitHub actions secrets.
As you use GitHub releases to create tags (with the release-please action), you may need to add a PA token for the workflow to be triggered automatically.
neovim
and/orvim
labels have to be added to the luarocks package manually (after the first upload), for this plugin to show up in https://luarocks.org/labels/neovim or https://luarocks.org/labels/vim, respectively.