Skip to content

nvim-neorocks/rocks-scoop

Repository files navigation

🍨 rocks-scoop 🍨

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.

🚧 The problem

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.

🚀 The solution

Compile luarocks against Lua 5.1.

🪣 Included buckets

  • lua 5.1 + C libraries
  • luarocks

📝 Requirements

📥 Installation

scoop bucket add neorocks-scoop https://github.com/nvim-neorocks/rocks-scoop.git
scoop install neorocks-scoop/luarocks

Releases

No releases published

Packages

No packages published