-
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
Something that landed between 02ef955...2432dc1 caused the plugin to stop switching to dark mode for me. I pinned to 02ef955 for now.
Mac m3 pro Sequoia 15.2 (24C101)
❯ nvim -v
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1727870382
Run "nvim -V1 -v" for more info
return {
{
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
},
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
config = function()
require("catppuccin").setup({
flavour = "auto",
background = {
light = "latte",
dark = "mocha",
},
integrations = {
cmp = true,
gitsigns = true,
nvimtree = true,
treesitter = true,
notify = false,
mini = {
enabled = true,
},
},
color_overrides = {
mocha = {
base = "#000000",
text = "#FFFFFF",
surface0 = "#1E1E2E"
},
latte = {
base = "#FFFFFF",
text = "#000000",
surface2 = "#303030",
overlay2 = "#383838",
subtext1 = "#1C1C1C",
blue = "#2B4BBF",
lavender = "#735C9F",
sky = "#3B668F",
sapphire = "#2D5A8A"
},
},
highlight_overrides = {
all = function(colors)
return {
MiniPickMatchCurrent = { bg = colors.surface1 },
}
end,
},
})
vim.cmd.colorscheme "catppuccin"
end
},
{
"f-person/auto-dark-mode.nvim",
commit = "02ef955",
lazy = false,
priority = 1000,
dependencies = {
"navarasu/onedark.nvim"
},
opts = {
update_interval = 1000,
set_dark_mode = function()
vim.api.nvim_set_option_value("background", "dark", {})
vim.cmd.colorscheme 'catppuccin'
end,
set_light_mode = function()
vim.api.nvim_set_option_value("background", "light", {})
require('onedark').setup {
style = 'light'
}
vim.cmd.colorscheme 'onedark'
end,
},
fallback = "dark",
}
}shihtiy-tw
Metadata
Metadata
Assignees
Labels
No labels