Fix having two themes at the same time

This commit is contained in:
Simo Soini 2025-06-05 12:19:12 +03:00
parent b14e4c60eb
commit f2ef8811b6
1 changed files with 3 additions and 18 deletions

View File

@ -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,
},