Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish SemVer tags to luarocks.org? #103

Open
mrcjkb opened this issue Aug 19, 2024 · 4 comments
Open

Publish SemVer tags to luarocks.org? #103

mrcjkb opened this issue Aug 19, 2024 · 4 comments

Comments

@mrcjkb
Copy link

mrcjkb commented Aug 19, 2024

Hey 👋

rocks.nvim supports using tree-sitter parsers that have been published to luarocks.org as plugin dependencies.

This means that rocks.nvim users can just :Rocks install my-nushell-plugin.nvim, and the tree-sitter parser will be installed automatically, without having to use nvim-treesitter to install parsers.

For parsers that are supported by nvim-treesitter, we have an automated workflow to package/publish them using the NURR.
But for parsers that aren't natively supported by nvim-treesitter, it's better if the authors manage them themselves.

Some examples:

Would you be open to publishing SemVer releases (e.g. using the release-please github action) and pubishing tree-sitter-nu to luarocks.org?
If so, I'd be happy to set up the GitHub actions for you.

@fdncred
Copy link
Collaborator

fdncred commented Aug 22, 2024

👋🏻

We're of two minds in regard to publishing.

  1. We're happy to have tree-sitter-nu in as many places as possible for users to easily install and use it.
  2. It ends up being a big pain to support because people change things and then publishing breaks without anyone who cares to support it.

@mrcjkb
Copy link
Author

mrcjkb commented Aug 22, 2024

Thanks for the feedback.
In that case I suppose it's better for you if we add it to the NURR.

@mrcjkb
Copy link
Author

mrcjkb commented Sep 4, 2024

I have added tree-sitter-nu to the NURR, so a scm version is now available on luarocks.org.

It would be nice to have semver releases so that users can pin versions.
Are there any plans for that?

@fdncred
Copy link
Collaborator

fdncred commented Sep 4, 2024

Yes, but probably not until we have a maintainer passionate enough about tree-sitter-nu to finish the grammar and highlighting and do releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants