⚙️ config(nvim): move rainbow delimeters options into the setup function itself

This commit is contained in:
Sergio Laín 2024-01-02 10:19:31 +01:00
parent 0401e35e9e
commit 2e0f58731e
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -1,7 +1,8 @@
return { return {
"HiPhish/rainbow-delimiters.nvim", "HiPhish/rainbow-delimiters.nvim",
event = "LazyFile", event = "LazyFile",
opts = { config = function()
require("rainbow-delimiters.setup").setup({
highlight = { highlight = {
"RainbowDelimiterBlue", "RainbowDelimiterBlue",
"RainbowDelimiterYellow", "RainbowDelimiterYellow",
@ -11,8 +12,6 @@ return {
"RainbowDelimiterRed", "RainbowDelimiterRed",
"RainbowDelimiterGreen", "RainbowDelimiterGreen",
}, },
}, })
config = function(_, opts)
require("rainbow-delimiters.setup").setup({ opts })
end, end,
} }