scottmckendry / cyberdream.nvim

🤖💤 High-contrast, Futuristic & Vibrant Coloursheme for Neovim
MIT License
697 stars 29 forks source link

v2.0.0 breaking change for lualine.nvim - bad argument #1 to 'pairs' (table expected, got function) #65

Closed scottmckendry closed 4 months ago

scottmckendry commented 4 months ago

As of v2.0.0, if you're using the cyberdream theme for lualine, you might have received the following error:

image

To fix this, replace:

local cyberdream = require("lualine.themes.cyberdream")

In your lualine.nvim config with:

local cyberdream = require("lualine.themes.cyberdream").get_theme()
cybergaz commented 4 months ago

can you be little more specific where exactly i have to make these changes, cause in my lualine config i never used this variable but still getting error??

scottmckendry commented 4 months ago

@cybergaz appreciate you flagging this. I've just pushed another update that will resolve the problem.

Let's just pretend v2 never happened!