-
I am using Lazy. Might be related to the plugin manager, i dont know.
And later on in my config file I try to (for example):
The setup call is doing nothing. To get it working I have to remove opts from here:
Then if do multiple setup calls, the only the last one is taken into account |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
dressing.nvim will set its config options to be whatever the latest call to dressing.nvim/lua/dressing/init.lua Lines 5 to 6 in f19cbd5 The issue is that you're fighting with lazy.nvim. It expects you to handle your setup in the definition of the plugin, either by using config = function(plugin, opts)
require('dressing').setup({})
end Defining the plugin in one place and calling the |
Beta Was this translation helpful? Give feedback.
dressing.nvim will set its config options to be whatever the latest call to
setup
passes indressing.nvim/lua/dressing/init.lua
Lines 5 to 6 in f19cbd5
The issue is that you're fighting with lazy.nvim. It expects you to handle your setup in the definition of the plugin, either by using
opts = {...}
, orconfig = true
, orDefining the plugin in one place and calling the
setup
function in another does work, but isn't really how it was meant to be used. And as you have discovered you will want to be careful about what options you pass arou…