rose-pine/neovim

bug: custom background isn't respected when a telescope window is open after v3.0.0

Closed this issue · 1 comments

Neovim version (nvim -v)

0.9.5

Terminal / multiplexer

iTerm2 / tmux

Describe the bug

I use the following code to not use the rose-pine background and use my terminal background in neovim

require('rose-pine').setup({
    disable_background = true
})

function ColorMyPencils(color) 
	color = color or "rose-pine"
	vim.cmd.colorscheme(color)

	vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
	vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })

end

ColorMyPencils()

However, after the release of v3.0.0 that isn't respected when a telescope finder window is open. Whenever I open up telescope, the background turns back into the rose-pine one and changes back to my custom ColorMyPencils() one as soon as I close the telescope window.

Repro

No response

Ah nevermind, I just saw the breaking change about transparent background
Using this fixed it.

require('rose-pine').setup({
    styles = {
        transparency = true,
    },
})