Skip to content

opts and config #370

Answered by folke
jorgebodega asked this question in Q&A
Jan 11, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The first parameter is plugin, as you can see in the screenshot.

So change your function to:

config = function(_, opts)
end

But then again, I do realize that opts and config is probably a bit confusing right now. So I will see to update the docs to clarify that a bit

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jorgebodega
Comment options

Answer selected by jorgebodega
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants