xiyaowong / transparent.nvim

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

How to use with NVChad? #56

Closed j0of closed 10 months ago

j0of commented 10 months ago

Hi, I'm a beginner with NeoVim and I am currently using the NVChad config to get started. I have applied the plugin into plugins.lua like this:

local plugins = { "xiyaowong/transparent.nvim", lazy = false }

After running :TransparentEnable, it only made some parts of Neovim transparent, and left things like the filetree, tabs (I think the correct term is bufferline?), and status bar not transparent. Here is a screenshot: image

I can't seem to figure out how to make everything else transparent. Can you please help me? Thanks!

xiyaowong commented 10 months ago

Add these to your transparent config

local transparent = require('transparent')
transparent.clear_prefix('BufferLine')
transparent.clear_prefix('NeoTree')
transparent.clear_prefix('lualine')

https://github.com/xiyaowong/transparent.nvim#clear_prefix