Closed WieeRd closed 3 months ago
setup() is a more common/standard name for a general plugin configuration function. And with lazy.nvim, it allows you to just specify the opts table instead of a whole function call.
setup()
lazy.nvim
opts
{ "onsails/lspkind.nvim", config = function() require("lspkind").init({ -- stuffs }) end, },
{ "onsails/lspkind.nvim", opts = { -- stuffs }, },
It's a minor QoL improvement, but it also only takes a single line. What do you think?
setup()
is a more common/standard name for a general plugin configuration function. And withlazy.nvim
, it allows you to just specify theopts
table instead of a whole function call.It's a minor QoL improvement, but it also only takes a single line. What do you think?