Closed Brayan-724 closed 1 month ago
Hey 👋
Based on the first error message, you have rocks.nvim version 2.20.0 installed (Strangely, the error says there's a syntax error on line 8, but that line is empty in version 2.20.0.
So maybe somehow your installation got corrupted?
Does it work if you uninstall and install the latest version?
I edited the message, I forgot that I've modified the file to debug it, if I use the original one it crashes
I found the line where it crashes. https://github.com/nvim-neorocks/rocks.nvim/blob/e865469e8a427e8f9378f930397a90b85a2d3e5e/plugin/rocks.lua#L54
If I execute just that line manually then crash.
Searching deeper I found that is because the version 2.20.0
is using toml
instead of toml-edit
, but now it is no install. I think it would be fixed installing toml
or upgrading to 2.21.0
.
Fixed, upgrade to 2.21.0
Ah yes, we had quite a few people on Arch-based distros and Windows having issues with the toml
library. So we added the functionality we needed to toml-edit
and got rid of the toml
dependency :smile:
Recently I install
rocks.nvim
but after following the both automatic and manual installation, it doesn't work. Notes:require "rocks"
), but the command:Rocks
doesn't exist.:lua =require "rocks".packadd "rocks.nvim"
, Neovim crashes.Details: OS: Arcolinux (Arch linux) Neovim version:
Luarocks version: