is it ok to use config()
when installing plugins?
#1967
Unanswered
aschleifer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I recently migrated to neovim and decided to use Lazy as plugin manager.
Whenever a plugin needs configuration that can't be done in a
setup() / opts = {...}
call I decided to add aconfig()
function to the plugin loading definition to do these configurations.Is this good practice or is it better to do it in a
~/.config/nvim/after/plugins/<pluginname>.lua
file?What is the difference between these two ways?
Beta Was this translation helpful? Give feedback.
All reactions