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