Closed TakenMC closed 1 year ago
Have you tried this?
vim.g.transparent_groups = vim.list_extend(
vim.g.transparent_groups or {},
vim.tbl_map(function(v)
return v.hl_group
end, vim.tbl_values(require('bufferline.config').highlights))
)
Ill try it out later when i am home
I still have the file icon with weird background
@TakenMC Which plugin for icons you're using?
nvim web dev icons the one everyone recommends
Does hi DevIconLua
have bg color? Actually I can't reproduce the issue.
should i add that to the extra groups
What theme you're using?
onedarkpro vivid by olimorris
@TakenMC Tried this theme, doesn't have this issue.
Can you show me your bufferline configuration?BufferLine will define BufferLineDevIcon{lang}{state} when you open a file, so you should ensure the parent highlights have been cleared.
https://github.com/akinsho/bufferline.nvim/blob/417b303328118b6d836ae330142e88771c48a8a3/lua/bufferline/highlights.lua#L99C1-L103C12
I'll get it when im home later
nvm i am stupid and forgot i have the config on gitlab https://gitlab.com/taken-personal/neovim-config/-/blob/main/after/plugin/bufferline.lua
You should add this snippet to the bottom
vim.g.transparent_groups = vim.list_extend(
vim.g.transparent_groups or {},
vim.tbl_map(function(v)
return v.hl_group
end, vim.tbl_values(require('bufferline.config').highlights))
)
the ft icon is still not transparent
nvm it works now perfectly
I have this weird issue when I enter nvim it would make almost everything transparent besides a few bufferline icons. Tho it would be all normal when I would disable it and enable it
Here's what it looks like![image](https://github.com/xiyaowong/transparent.nvim/assets/68560840/93fc8c53-9178-467d-b43c-41adf77c3470)