Replies: 2 comments 1 reply
-
Just dropping this note here, so I don't forget about it later: I just remembered that there are a bunch of plugins written in languages that compile to lua (e.g. teal or fennel). If the build step to compile to lua is the same or similar for many plugins, it might make sense to implement some kind of auto-detection in luarocks-tag-release (or the PR tool). |
Beta Was this translation helpful? Give feedback.
-
100%. I see packspec (or whatever "wild west half-baked dependencies declaration format") as merely a high-leverage, low-effort way to start formally connecting the existing web of vim/nvim dependencies. It doesn't preclude a luarocks approach at all, it simply formalizes what already exists--assuming it gets any traction.
Another major piece of friction is installing the luarocks client. What if we could install |
Beta Was this translation helpful? Give feedback.
-
Here is this post to outline a roadmap towards rockspec based package management for neovim plugins, and let anyone wanting to help an idea how to do so.
The goal of this organization is to promote rockspec-based installation of neovim plugins for reasons described
in these 2 posts here and there, but mostly for automated dependency management.
Note that the neovim org is working on an alternative new) format (see https://github.com/neovim/packspec and https://packspec.org/). These are not exclusive, as long as plugins have a formal specification of their dependencies, we can convert back and forth between the different formats.
A lot of work has been done before (the luarocks-tag-release action), but here are a few things that could help with adoption (no order):
lua_modules_path = "lua"
! probably...) in popular plugin manager (lazy.nvim for instance)For the last point, the ability to patch luarocks.org looks like a blocker for several people (looking at the tracker) which is why tehre is in-progress work to ease patching/testing the website ( https://github.com/teto/luarocks-site/tree/flake ).
If you wanna help with any of these points, please reach out !
Cheers
Beta Was this translation helpful? Give feedback.
All reactions