tokyo night refactor

This commit is contained in:
Salar Rahmanian 2025-01-26 16:40:12 -08:00
parent d226c17b06
commit ce43f554fc

View file

@ -1,34 +1,27 @@
return {
{ "folke/neoconf.nvim", cmd = "Neoconf" },
{
"folke/tokyonight.nvim",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
opts = {
style = "night",
transparent = true,
terminal_colors = true,
on_colors = function(colors)
colors.bg = "#000000"
end,
config = function(_, opts)
local tokyonight = require("tokyonight")
tokyonight.setup(opts)
tokyonight.load()
vim.g.tokyonight_style = "night"
vim.g.tokyonight_italic_functions = true
vim.o.termguicolors = true
-- load the colorscheme here
vim.cmd([[colorscheme tokyonight-night]])
end,
},
},
{
"folke/neodev.nvim",
config = function()
require("neodev").setup()
end,
},
{
"folke/tokyonight.nvim",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
require("tokyonight").setup({
style = "night",
on_colors = function(colors)
colors.bg = "#000000" -- "#1a1b26"
end,
})
vim.o.termguicolors = true
-- load the colorscheme here
vim.cmd([[colorscheme tokyonight-night]])
end,
},
{
"folke/trouble.nvim",
config = function()