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

feat: support for lazy.nvim opts table #311

Open
onexbash opened this issue Oct 30, 2024 · 1 comment
Open

feat: support for lazy.nvim opts table #311

onexbash opened this issue Oct 30, 2024 · 1 comment

Comments

@onexbash
Copy link

onexbash commented Oct 30, 2024

for managing plugins with lazy.nvim it is recommended to use the opts {} table instead of the setup function, because the setup function is automatically called and merged with the opts table if it is present.

This is not supported by alpha-nvim yet. Would be cool to have it as lazy is probably the most used and best package manager for nvim right now.

Reference:
https://lazy.folke.io/spec#spec-setup
(CleanShot 2024-10-30 at 17 51 07)

@goolord
Copy link
Owner

goolord commented Nov 3, 2024

i don't understand, there is a setup function in alpha already so presumably you could just stick the contents of whatever you're passing to setup now to opts and get the behavior you desire with 0 changes to the alpha codebase

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