scoop.sh
buckets for use with rocks.nvim and lazy.nvim on Windows.
Warning
This is used in our rocks-binaries GitHub Actions CI for Windows.
We don't know how well it will work on your machine.
LuaRocks support for Neovim is an absolute headache on Windows. This has the following reasons:
- Neovim uses luajit, which has the Lua 5.1 API.
- Most luarocks packages are bundled with Lua 5.4, which is incompatible.
- Even if you install luajit or Lua 5.1 and configure luarocks to use it, you will likely run into issues, because the luarocks Windows all-in-one executable has been compiled against Lua 5.4.
Compile luarocks against Lua 5.1.
- lua 5.1 + C libraries
- luarocks
scoop bucket add neorocks-scoop https://github.com/nvim-neorocks/rocks-scoop.git
scoop install neorocks-scoop/luarocks