xiyaowong / transparent.nvim

Remove all background colors to make nvim transparent
806 stars 23 forks source link

How can I make plugin lspsaga preview windows and neotree pop windows transparent? #25

Closed Leo-Ni88 closed 1 year ago

0xfraso commented 1 year ago

I use this config to make all floating windows transparent

require("transparent").setup({
            enable = true,
            extra_groups = { -- table/string: additional groups that should be cleared
                "BufferLineTabClose",
                "BufferlineBufferSelected",
                "BufferLineFill",
                "BufferLineBackground",
                "BufferLineSeparator",
                "BufferLineIndicatorSelected",

                "IndentBlanklineChar",

                -- make floating windows transparent
                "LspFloatWinNormal",
                "Normal",
                "NormalFloat",
                "FloatBorder",
                "TelescopeNormal",
                "TelescopeBorder",
                "TelescopePromptBorder",
                "SagaBorder",
                "SagaNormal",
            },
            exclude = {}, -- table: groups you don't want to clear
        })

You should check for neotree highlight groups

I do that with telescope builtin :Telescope highlights

Then just add those to the list

xiyaowong commented 1 year ago

https://github.com/xiyaowong/nvim-transparent/issues?q=label%3A%22float+window%22+sort%3Aupdated-desc