-
Notifications
You must be signed in to change notification settings - Fork 7
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
About init
function
#19
Comments
Which version of Neovim are you using? This was written for Neovim 0.10 (nightly).
Anyway, the install process is going to change, and the |
I am using nightly, but it seems that if the network is not good, the installation of dependencies will fail. |
Everything is normal now. By the way, the installation method of readme has not been completed yet, right? |
Yes, this is still very much WIP 😅 It looks like you have lua 5.4 installed, and it's trying to find toml-edit for that version. Which platform are you on? |
I work in archlinux under wsl2, I checked the official library of archlinux and the dependency of luarocks is lua5.4 |
maybe I can install this? https://aur.archlinux.org/packages/lua51-luarocks-build-rust-mlua |
no effect |
I tried this, https://aur.archlinux.org/packages/lua-luarocks-build-rust-mlua |
That sounds like a packaging "bug" on the Arch Linux side. luarocks can run with any lua version between 5.1 and 5.4 (and luaJIT). |
lua5.1 and lua5.4 can coexist on my computer, but |
But when I specify lua-version is 5.1, its output is 5.1 |
I think I have an idea. Are PATHs like |
Honestly, I have no idea now. Everything looks correct and I took a look at the luarocks code that has to do with the configuration to see if I found something but everything is fine. There are some issue reports with the same dependency in the luarocks repository with other projects but unfortunately none have had any response with a proper solution from the luarocks maintainers, here is an example of them and in this other one, even though it is another use case, the same thing happens and ultimately, it seems to be an internal luarocks bug with their build system in some edge cases like this one where a custom builder is being used for the dependencies 😥 |
Update: could you open a separate issue to track the problem when trying to install toml-edit using luarocks? That way everything would be more organized and the original problem of this issue seems to have been solved. Thanks in advance! Ps: I think that following a suggestion made by @mrcjkb we could solve it and also eliminate some dependencies such as requiring having Rust installed, we are going to investigate further on this one. |
ok, I will open a new issue |
rocks.nvim/lua/rocks/init.lua
Line 30 in 5faf2be
The
wait
here does not exist, which will cause the plug-in initialization to fail.The text was updated successfully, but these errors were encountered: