Skip to content
Discussion options

You must be logged in to vote

If you're using your own custom config it doesn't matter which one you will use. If you use some distro, then you should always use opts and avoid config (unless you know explicitly what you're doing and you're certain you won't break things, but since you're new and don't know the difference you should definitely avoid it). The reason being that different instances of opts will get merged together, but the same thing will not happen when you use config. The latest config defined will overwrite the previous ones.

opts is essentially the table of configuration that each plugin gets and that is passed to the default config function, which by default does require("main_lua_module).setup(opts).…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by vynguyen205
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