lazy.nvim icon indicating copy to clipboard operation
lazy.nvim copied to clipboard

fix(rockspec): adjusted luarocks executable to contain the appropriate extension on windows

Open TheZoc opened this issue 8 months ago • 1 comments

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:

  1. LuaRocks has 2 different distribution packages, one that uses a .bat and another one that uses a .exe.

  2. vim.fn.executable() will work if the extension is omitted, but Process.exec() will fail

This should solve most of the Windows users headaches when using LuaRocks with lazy.nvim

image

TheZoc avatar Apr 20 '25 21:04 TheZoc

This PR is stale because it has been open 30 days with no activity.

github-actions[bot] avatar May 21 '25 02:05 github-actions[bot]