using lua function to define the colorscheme

This commit is contained in:
aminnairi
2023-12-02 23:53:11 +01:00
parent b6031ccad8
commit 966c05f4fb
+13 -11
View File
@@ -1,14 +1,16 @@
return { return {
"folke/tokyonight.nvim", {
lazy = false, "folke/tokyonight.nvim",
priority = 1000, lazy = false,
init = function() priority = 1000,
vim.cmd([[colorscheme tokyonight]]) init = function()
end, vim.cmd.colorscheme("tokyonight")
opts = { end,
style = "storm", opts = {
light_style = "day", style = "storm",
transparent = false, transparent = false,
terminal_colors = true, light_style = "day",
terminal_colors = true,
},
}, },
} }