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

Embeddable Lua module system #13

Open
hrsh7th opened this issue Jan 31, 2021 · 1 comment
Open

Embeddable Lua module system #13

hrsh7th opened this issue Jan 31, 2021 · 1 comment
Labels
help wanted Extra attention is needed idea

Comments

@hrsh7th
Copy link

hrsh7th commented Jan 31, 2021

What?
I want to embed some of my own Lua module for plugins.
For example, The Vim script has https://github.com/vim-jp/vital.vim that is easy to embed custom module to other plugins.

Why?
I want to try and error when I create some of the modules.
But currently, the neovim community's approach is hard to apply breaking changes.
For example, I think plenary.nvim is being hard to apply breaking change.

Potential existing implementations:
https://github.com/vim-jp/vital.vim is the ideal solution, I think.

Potential pitfalls:
Probably, it will make the users are being to do Reinventing the wheel but Lua plugin ecosystem will be grown, I think.

@hrsh7th hrsh7th added help wanted Extra attention is needed idea labels Jan 31, 2021
@wbthomason
Copy link
Collaborator

I'm not sure if it serves your purpose (e.g. as it requires using packer), but packer.nvim now supports Luarocks dependencies, which helps plugin authors rely on existing modules (or write and publish their own for reuse).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed idea
Projects
None yet
Development

No branches or pull requests

2 participants