From 1ea7d94bfc0021569b85472c84b90469d4c92da3 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sun, 26 Jan 2025 16:09:42 -0800 Subject: [PATCH] tokyo night updates for a darker background --- lua/plugins/init.lua | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 02ce023..db768cc 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -1,21 +1,29 @@ return { { "folke/neoconf.nvim", cmd = "Neoconf" }, - { - "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 + opts = { + style = "night", + transparent = true, + terminal_colors = true, + on_colors = function(colors) + colors.bg = "#000000" + end, + config = function() + 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() - vim.g.tokyonight_style = "night" - vim.g.tokyonight_italic_functions = true - vim.o.termguicolors = true - -- load the colorscheme here - vim.cmd([[colorscheme tokyonight]]) + require("neodev").setup() end, }, {