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

Encountered unknown options during setup(): unknown option: progress.ignore_empty_message #179

Closed
TheJasonPlayz opened this issue Dec 6, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@TheJasonPlayz
Copy link

Hello!
I was trying to write my configuration using lazy.nvim. I was getting a lot of "In progress... WARN" messages #295 haskell-tools and I was trying to fix it. When I used the following config, it did not do anything and instead gave me an error that there was an unknown option. Any help? Thank you!
Jason

plugins.lua
{ "j-hui/fidget.nvim", opts = { progress = { ignore_empty_message = true } } },

@j-hui
Copy link
Owner

j-hui commented Dec 6, 2023

Can you please confirm that your Fidget is up to date?

@daneski13
Copy link

daneski13 commented Dec 6, 2023

I'm having a similar issue and I'm on the latest commit:

[WARN  Thu Nov 23 19:52:48 2023] /lua/fidget.lua:20: Encountered unknown options during setup():
[WARN  Thu Nov 23 19:52:48 2023] /lua/fidget.lua:22: - unknown option: window

I think a more recent update caused the issue because it stopped working after I did an update, haven't changed my config in ages except for swapping blend for winblend since I noticed that API change during my troubleshooting:

fidget = require("fidget")
fidget.setup({
	window = {
		winblend = 0,
	},
})

@j-hui
Copy link
Owner

j-hui commented Dec 7, 2023

@daneski13 , the version of Fidget you're using has been completely written as of #143.

In the rewrite, the equivalent option is:

{ notification = { window = { winblend = 0 } } }

@daneski13
Copy link

ah gotcha, my bad. Didn't realize it was under a new block.

@j-hui j-hui added the bug Something isn't working label Dec 7, 2023
@j-hui
Copy link
Owner

j-hui commented Dec 19, 2023

@TheJasonPlayz are you still encountering this issue? If not, I will close it.

@j-hui j-hui closed this as completed Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants