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

README: disabling luarocks integration with README way does not work #1576

Closed
matu3ba opened this issue Jun 28, 2024 · 1 comment
Closed

Comments

@matu3ba
Copy link

matu3ba commented Jun 28, 2024

See natecraddock/telescope-zf-native.nvim#21

There appear to be multiple ways to disable luarocks integration and plugins adding rockspec may be breaking with the information in the README

require('lazy').setup('my_plugins', { rocks = { enabled = false } })

works for me, but

require('lazy').setup('my_plugins', { pkg = { sources = "" } })

does not and fails with "build needed".

README may give a hint, but should not give incorrect/non-working information.

@folke
Copy link
Owner

folke commented Jun 28, 2024

The docs clearly state: You can remove rockspec from opts.pkg.sources to disable this feature.
It does not tell you to set it to ""

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