xiyaowong / transparent.nvim

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

Nvim-Tree panel is only transparent when focused (cursor is on the panel) #65

Closed realhackcraft closed 4 months ago

realhackcraft commented 4 months ago

I'm not sure if this has to do with the config I use (NvChad) or I somehow messed up the transparent.nvim configs, but the Nvim-Tree panel is only transparent when it has the focus.

https://github.com/xiyaowong/transparent.nvim/assets/65378120/20c1fd46-5d37-4f72-9393-2a079225f1d2

This is my config btw.

local transparent = require "transparent"

transparent.clear_prefix "NeoTree"
transparent.clear_prefix "BufferLine"
transparent.clear_prefix "lualine"

transparent.setup { -- Optional, you don't have to run setup.
  groups = { -- table: default groups
    "Normal",
    "NormalNC",
    "Comment",
    "Constant",
    "Special",
    "Identifier",
    "Statement",
    "PreProc",
    "Type",
    "Underlined",
    "Todo",
    "String",
    "Function",
    "Conditional",
    "Repeat",
    "Operator",
    "Structure",
    "LineNr",
    "NonText",
    "SignColumn",
    "CursorLine",
    "CursorLineNr",
    "StatusLine",
    "StatusLineNC",
    "EndOfBuffer",
  },
  extra_groups = {
    "NormalFloat",
    "NvimTreeNormal",
    "NvimTreeNormalNC",
    "NvimTreeNormalFloat",
    "NvimTreeEndOfBuffer",
  },
  exclude_groups = {}, -- table: groups you don't want to clear
}
realhackcraft commented 4 months ago

It seems that I can't reproduce it anymore. I'm going to close this issue.