mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 15:19:09 +01:00
using lua function to define the colorscheme
This commit is contained in:
1 parent
b6031ccad8
commit
966c05f4fb
1 file changed
+13
-11
@@ -1,14 +1,16 @@
|
||||
return {
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
init = function()
|
||||
vim.cmd([[colorscheme tokyonight]])
|
||||
end,
|
||||
opts = {
|
||||
style = "storm",
|
||||
light_style = "day",
|
||||
transparent = false,
|
||||
terminal_colors = true,
|
||||
{
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
init = function()
|
||||
vim.cmd.colorscheme("tokyonight")
|
||||
end,
|
||||
opts = {
|
||||
style = "storm",
|
||||
transparent = false,
|
||||
light_style = "day",
|
||||
terminal_colors = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user