nvim icon indicating copy to clipboard operation
nvim copied to clipboard

transparent_background should not make NormalFloat transparent

Open PaperbagWriter opened this issue 7 months ago • 2 comments

Is your feature request related to a problem? Please describe.

I've recently upgraded to the latest version. Had to mess a lot with transparency, which was working as expected before.

With the upgrade, setting the transparent_background = true (an option I did not have before) every backgrounds are now transparent. Making it very hard to see elements such as floats and any other UI element which do not have borders.

Almost all NormalFloat elements do not seem to have borders so I believe this should be the default behavior.

Describe the solution you'd like transparent_background should not override NormalFloat elements transparency. These element background should respect regular theme.

Describe alternatives you've considered

I was able to mitigate the problem by doing:

      custom_highlights = function(colors)
        return {
          NormalFloat = { bg = colors.base, fg = colors.text },
        }
      end,

PaperbagWriter avatar May 09 '25 21:05 PaperbagWriter

I've been trying to figure out how to do this. And was about to make a request.

Nicknamely avatar May 10 '25 00:05 Nicknamely

+1 to this

I've been trying to find a way to mitigate this for a while

Would definitely be nice if it was a built-in option

IroncladDev avatar May 12 '25 13:05 IroncladDev

if youve been experiencing this issue i would ask you to try out #885 and see if you like it. any feedback on it would be appreciated.

comfysage avatar Jul 29 '25 09:07 comfysage