-
Notifications
You must be signed in to change notification settings - Fork 299
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: "attempt to call method 'flatten' (a nil value)" #1456
Comments
either use a recent nightly, or a stable neovim versions. |
Could this be caused by the latest neovim 0.10.0 release (out yesterday?) This seems to reproduce in my 0.10.0 installation while it does not show up on the v0.9.5. |
as folke said above |
@dfszb @MichaelC001 upgrading to 0.11 worked for me! |
sorry @smsossah upgrading to 0.11 did not help for me .
lazy version
will try again to check if i missed anything |
That's strange, I assumed it was a bug with 0.10.0 once I got it working on another version. Were you able to get it working or is it still causing the issue @ehrktia? Aside from changing versions I'm not sure what else could fix it since I'm fairly new to neovim/lazy |
there is a version check in |
Did you check docs and existing issues?
Neovim version (nvim -v)
nvim v.0.10.0-dev-1471+ga8aebcff5-Homebrew
Operating system/version
MacOS Sonoma 14.4.1
Describe the bug
I am attempting to load the Mofiqul/vscode.nvim, and am getting a failure: ".local/share/nvim/lazy/lazy.nvim/lua/lazy/help.lua:16: attempt to call method 'flatten' (a nil value)". I noticed that there were some changes added in today's release in regards to the flatten() method and was wondering if this is a bug and if so how I could go about fixing it? Here's a screenshot
The colorscheme still loads but when I run the Lazy Update command I get the error described above.
(update) I realized I get the same error when loading other plugins like nvim-tree
Steps To Reproduce
Install lazy
Attempt to load https://github.com/Mofiqul/vscode.nvim :
return {
'Mofiqul/vscode.nvim'
config = function()
vim.cmd([[ colorscheme vscode ]])
end,
}
I've also tried other alternatives which worked previously but it leads to the same failure
Expected Behavior
I would expect the update command to run without failures when running :Lazy and selecting "U" to update
Repro
No response
The text was updated successfully, but these errors were encountered: