-
Notifications
You must be signed in to change notification settings - Fork 9
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
bug: Not support lua5.4.7? #85
Comments
@basheewang, lemme check this. In theory, I defined |
BTW, I am using NvChad2.5 config. |
@basheewang, I think you need to install exactly lua 5.1 for lazy.nvim to work (as warning show lua version 5.1 is needed). You can look at this issue also, #82. |
Lua 5.1 is no longer available: $ brew install [email protected]
Error: [email protected] has been disabled because it is deprecated upstream! It was disabled on 2024-02-16. Tried many ways to install this plugin but no luck so far (with rocks). It only worked after completely disabling rocks. |
@rodhash, Hi bro, can you share another plugin that you installed successfully with rocks? |
I had a few: {
"vhyrro/luarocks.nvim",
-- priority = 1000, -- We'd like this plugin to load first out of the rest
lazy = true,
event = "VeryLazy",
config = true, -- This automatically runs `require("luarocks-nvim").setup()`
opts = {
rocks = { "fzy", "pathlib.nvim ~> 1.0", "rest.nvim", "neorg", "tree-sitter-http", "lua-curl", "nvim-nio", "mimetypes", "xml2lua" }, -- specifies a list of rocks to install
-- luarocks_build_args = { "--with-lua=/my/path" }, -- extra options to pass to luarocks's configuration script
},
-- config = function ()
-- require("luarocks-nvim").setup({})
-- end
}, But now and then rocks becomes a pain so yesterday I disabled it for good and installing only with Lazy worked fine. |
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0-dev-462+g167d0e5a6
Operating system/version
Arch Linux
Describe the bug
When install with lazy, the error as picture.
Does this plugin only support lua 5.1 to install?
Steps To Reproduce
Just paste the install instruction lazy cod in my init.lua, then use Lazy sync, the error pop out.
Expected Behavior
Hope to support newer lua version to install.
The text was updated successfully, but these errors were encountered: