diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 4a59794..fee8d09 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -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()