Closed Felipe-9 closed 1 month ago
I'm not sure if these are related to your issue but there are too many mistakes in your config...
vim.cmd.colorscheme "catppuccin"
Called before setup()
, move it after that setup()
, THIS SOLVES YOUR PROBLEM
vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
Shouldn't use as you have custom_highlights
, and catppuccin DOES set them to NONE
when transparent_background
= true
vim.o.pumblend = 0 vim.o.winblend = 0
Better be set before you setup plugins, together with your other options
transparent = true,
We don't have this option, please RTFM :help catppuccin-configuration
, the next line transparent_background = true,
is correct
sidebars = "trasnparent", floats = "trasnparent"
We don't have these options
vim.cmd.colorscheme("catppuccin")
(final line)
You've called this at the catppuccin/nvim plugin spec, there's no need to call again
Besides, vim.o.winblend
and vim.o.pumblend
are already the global settings, unless the plugins you use ignore them.
Description
Having the configuration set to transparent, even with all measures taken the window goes back to opaque when telescope or neotree is open.
I tried the solutions on the issue: #412 and #730 but still haven't solved the problem
Something i noted is that if i manually reload catppuccin the issue solves itself:
Neovim version
Terminal and multiplexer
kitty 0.36.0 created by Kovid Goyal (no tmux)
Catppuccin version / branch / rev
catppuccin * (latest)
Steps to reproduce
nvim
Expected behavior
Background keep transparent
Actual behavior
Background turns opaque
Repro