refactor(plugins)!: plugins now use lazy.nvim's new opts property to make it far easier to override options

This commit is contained in:
Folke Lemaitre committed 2023-01-08 15:05:34 +01:00
1 parent 8667b3d54e
commit 2135bc144c
8 files changed
+140 -95

No files matched your search

+3 -2
View File
@@ -5,9 +5,10 @@ return {
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
config = function()
opts = { style = "moon" },
config = function(_, opts)
local tokyonight = require("tokyonight")
tokyonight.setup({ style = "moon" })
tokyonight.setup(opts)
tokyonight.load()
end,
},