Closed kevinrobayna closed 4 weeks ago
luarocks
for NEovim plugins requires Lua 5.1
, that is completely correct.
I've improved the health
check to show steps you can do to fix your luarocks
installation.
luarocks
for NEovim plugins requiresLua 5.1
, that is completely correct.
oh! ok thank you! I wanted to create the ticket more of a question as I wasn't sure.
luarocks
for NEovim plugins requiresLua 5.1
, that is completely correct.
@folke thanks for a lot of your plugins!
I have a question, since Lazy supports now luarocks
and especially on macOS with Homebrew, lua@5.1 is deprecated and needs workaround to work with newer version,
isn't enough luarocks --lua-version=5.1
even with newer version of Lua as you’re already using ?
Yes, you need 5.1. This is the last time I'll answer this question.
As is explained in the healthcheck, you can just enable hererocks instead
In case it's helpful to anyone, mise can be used to install lua 5.1 (with luarocks):
mise plugins add lua
mise use -g lua@5.1
after which luarocks
should be available from ~/.local/share/mise/installs/lua/5.1/luarocks/bin/luarocks
and :checkhealth
in neovim won't show any errors or warnings about luarocks.
Did you check docs and existing issues?
Neovim version (nvim -v)
0.10
Operating system/version
MacOs
Describe the bug
When i do a LazyHealth check wihtin lazyvim it says that luarocks is installed but the version is not correct. Looking at the website of luarocks they are even using luarock with lua 5.3.
Steps To Reproduce
Install the latest version of lua Install luarocks LazyHealth
Expected Behavior
It should not give a warning as I'm using a newer version of lua
Repro