lazy.nvim
lazy.nvim copied to clipboard
fix(rockspec): adjusted luarocks executable to contain the appropriate extension on windows
This fixes the problems with :checkhealth and package building on Windows when using luarocks.
Previously it wasn't adding the correct extension, depending on the user setup.
Remarks:
-
LuaRocks has 2 different distribution packages, one that uses a
.batand another one that uses a.exe. -
vim.fn.executable()will work if the extension is omitted, butProcess.exec()will fail
This should solve most of the Windows users headaches when using LuaRocks with lazy.nvim
This PR is stale because it has been open 30 days with no activity.