Closed amurahul closed 1 year ago
This is a bad interaction between transparent float backgrounds and winblend (looks like https://github.com/neovim/neovim/issues/18576). If you set the winblend to 0 then it works as expected.
require("oil").setup({
float = {
win_options = {
winblend = 0
}
}
})
Did you check the docs and existing issues?
Neovim version (nvim -v)
v0.9.1
Operating system/version
Linux 6.4.8-arch1-1 - Arch
Describe the bug
Black background in transparent theme, when initally opened. Tested in both Tokyonight and catppucin.
After changing directory it shows correctly.
Steps To Reproduce
https://github.com/stevearc/oil.nvim/assets/141751688/fdcdafbe-d275-41da-b49b-8ce11913f699
Expected Behavior
Black background shouldn't be there initially.
Directory structure
temp/temp/repo.lua
Repro
Did you check the bug with a clean config?
nvim -u repro.lua
using the repro.lua file above.