-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luarocks
needs lua 5.1
#1570
Comments
|
luarocks
needs lua 5.1
oh! ok thank you! I wanted to create the ticket more of a question as I wasn't sure. |
@folke thanks for a lot of your plugins! lazy.nvim/lua/lazy/pkg/rockspec.lua Lines 167 to 184 in ec95702
|
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 [email protected] after which |
5.1 is on nix as well, if that's more your thing:
|
The :checkhealth command in Neovim displays an error (reported by lazy.nvim) if LuaRocks is not installed. This is the easiest way to fix that. See: folke/lazy.nvim#1570 (comment)
Naive question: any idea why it is locked to lua 5.1 ? Is it a neovim or a lazy thing ? |
neovim thing :h lua-compat |
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
The text was updated successfully, but these errors were encountered: