fix: transparant background

This commit is contained in:
asep komarudin 2024-02-24 22:02:53 +07:00
parent 1c9deb6b07
commit 38df56571a
3 changed files with 34 additions and 58 deletions

View file

@ -214,40 +214,6 @@ if transparent_mode ~= nil then
end
return {
-- transparant config
{
"xiyaowong/transparent.nvim",
event = "BufWinEnter",
enabled = transparent,
cmd = { "TransparentToggle", "TransparentEnable", "TransparentDisable" },
config = function()
require("transparent").clear_prefix("BufferLine")
-- clear prefix for which-key
require("transparent").clear_prefix("WhichKey")
-- clear prefix for lazy.nvim
require("transparent").clear_prefix("Lazy")
-- clear prefix for NvimTree
require("transparent").clear_prefix("NvimTree")
-- clear prefix for NeoTree
require("transparent").clear_prefix("NeoTree")
-- clear prefix for Lualine
require("transparent").clear_prefix("Lualine")
require("transparent").setup({
extra_groups = {},
exclude_groups = {
-- disable active selection backgroun
"CursorLine",
"CursorLineNR",
"CursorLineSign",
"CursorLineFold",
-- disable nvimtree CursorLine
"NvimTreeCursorLine",
-- disable Neotree CursorLine
"NeoTreeCursorLine",
},
})
end,
},
-- color scheme
{ "luisiacc/gruvbox-baby", lazy = true, enabled = gruvbox },
{