From f2ef8811b66900dfe5da97b7196c9be2cdc498e0 Mon Sep 17 00:00:00 2001 From: Simo Soini Date: Thu, 5 Jun 2025 12:19:12 +0300 Subject: [PATCH] Fix having two themes at the same time --- init.lua | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/init.lua b/init.lua index e2b360d3..3ed1432f 100644 --- a/init.lua +++ b/init.lua @@ -345,15 +345,6 @@ require('lazy').setup({ }, }, - { - -- Theme - 'nyoom-engineering/oxocarbon.nvim', - config = function() - vim.cmd.colorscheme 'oxocarbon' - vim.opt.background = 'dark' - end, - }, - { -- Set lualine as statusline 'nvim-lualine/lualine.nvim', @@ -964,20 +955,14 @@ require('lazy').setup({ -- change the command in the config to whatever the name of that colorscheme is. -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. - 'folke/tokyonight.nvim', + 'nyoom-engineering/oxocarbon.nvim', priority = 1000, -- Make sure to load this before all the other start plugins. config = function() - ---@diagnostic disable-next-line: missing-fields - require('tokyonight').setup { - styles = { - comments = { italic = false }, -- Disable italics in comments - }, - } - -- Load the colorscheme here. -- Like many other themes, this one has different styles, and you could load -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. - vim.cmd.colorscheme 'tokyonight-night' + vim.cmd.colorscheme 'oxocarbon' + vim.opt.background = 'dark' end, },