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
@@ -1,14 +1,16 @@
return {
{
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
init = function()
vim.cmd([[colorscheme tokyonight]])
vim.cmd.colorscheme("tokyonight")
end,
opts = {
style = "storm",
light_style = "day",
transparent = false,
light_style = "day",
terminal_colors = true,
},
},
}