You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm developing a neovim plugin that requires a C component built using LuaRocks. The build process depends on environment variables to locate third-party libraries. Standard LuaRocks allows passing parameters or setting environment variables during the build using the spec file. However, lazy.nvim's current integration with LuaRocks doesn't provide a way to pass these necessary parameters. This limitation prevents the correct compilation of plugins with external C dependencies.
This feature request proposes adding support for passing parameters (e.g., environment variables, build flags) to the LuaRocks spec when building plugins with lazy.nvim. This would bring its LuaRocks integration closer to standard LuaRocks functionality and enable building more complex plugins.
Describe the solution you'd like
This feature request proposes adding an extra_arguments table to the build configuration. This table would contain arguments that are passed directly to the luarocks install command. This would allow users to customize the build process as needed.
Did you check the docs?
Is your feature request related to a problem? Please describe.
I'm developing a neovim plugin that requires a C component built using LuaRocks. The build process depends on environment variables to locate third-party libraries. Standard LuaRocks allows passing parameters or setting environment variables during the build using the spec file. However, lazy.nvim's current integration with LuaRocks doesn't provide a way to pass these necessary parameters. This limitation prevents the correct compilation of plugins with external C dependencies.
This feature request proposes adding support for passing parameters (e.g., environment variables, build flags) to the LuaRocks spec when building plugins with lazy.nvim. This would bring its LuaRocks integration closer to standard LuaRocks functionality and enable building more complex plugins.
Describe the solution you'd like
This feature request proposes adding an extra_arguments table to the build configuration. This table would contain arguments that are passed directly to the luarocks install command. This would allow users to customize the build process as needed.
This should result in lazy.nvim executing:
This feature would significantly enhance the flexibility of building plugins with external dependencies using LuaRocks within lazy.nvim.
Describe alternatives you've considered
None
Additional context
No response
The text was updated successfully, but these errors were encountered: