Skip to content
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

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

Closed
scottmckendry opened this issue Jun 12, 2024 · 2 comments
Labels
question Further information is requested wontfix This will not be worked on

Comments

@scottmckendry
Copy link
Owner

scottmckendry commented Jun 12, 2024

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()
@scottmckendry scottmckendry added the question Further information is requested label Jun 12, 2024
@scottmckendry scottmckendry pinned this issue Jun 12, 2024
@scottmckendry scottmckendry added the wontfix This will not be worked on label Jun 12, 2024
@cybergaz
Copy link

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
Copy link
Owner Author

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

Let's just pretend v2 never happened!

@scottmckendry scottmckendry unpinned this issue Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants