Files
Neolite/lua/transparency.lua
Arkaprabha Chakraborty 424b9c0b8a Add transparency support
Changes to be committed:
      modified:   init.lua
      modified:   lua/plugins.lua
      new file:   lua/transparency.lua
2023-03-12 03:25:00 +05:30

21 lines
658 B
Lua

local ok, transparent = pcall(require, "transparent")
if not ok then
return
end
transparent.setup({
enable = false, -- boolean: enable transparent
extra_groups = { -- table/string: additional groups that should be cleared
-- In particular, when you set it to 'all', that means all available groups
-- example of akinsho/nvim-bufferline.lua
"BufferLineTabClose",
"BufferlineBufferSelected",
"BufferLineFill",
"BufferLineBackground",
"BufferLineSeparator",
"BufferLineIndicatorSelected",
},
exclude = {}, -- table: groups you don't want to clear
ignore_linked_group = true, -- boolean: don't clear a group that links to another group
})