tree-sitter-nu icon indicating copy to clipboard operation
tree-sitter-nu copied to clipboard

Publish SemVer tags to luarocks.org?

Open mrcjkb opened this issue 1 year ago • 4 comments

Hey :wave:

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.

mrcjkb avatar Aug 19 '24 15:08 mrcjkb

👋🏻

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.

fdncred avatar Aug 22 '24 11:08 fdncred

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

mrcjkb avatar Aug 22 '24 18:08 mrcjkb

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?

mrcjkb avatar Sep 04 '24 01:09 mrcjkb

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

fdncred avatar Sep 04 '24 11:09 fdncred