xiyaowong/transparent.nvim

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

Closed this issue · 1 comments

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.

Screen.Recording.2024-04-17.at.22.25.03.mov

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
}

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