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

@ -47,7 +47,7 @@
"nvim-web-devicons": { "branch": "master", "commit": "a55b801b7ef5719ca25692c3a0a5447fdfb692ed" },
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
"smart-splits.nvim": { "branch": "master", "commit": "e1e1e6ca3754bd8ef971fb69673cc17965eb9e37" },
"telescope.nvim": { "branch": "master", "commit": "955e50dfed94d28225569d7734eec4c5c65e273f" },
"telescope.nvim": { "branch": "master", "commit": "2e1e382df42467029b493c143c2e727028140214" },
"toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" },
"tokyonight.nvim": { "branch": "main", "commit": "67c6050e1ca41260c919236a098ba278472c7520" },
"transparent.nvim": { "branch": "main", "commit": "fd35a46f4b7c1b244249266bdcb2da3814f01724" },

View file

@ -1,9 +1,20 @@
return {
-- transparant config
-- {
-- "xiyaowong/transparent.nvim",
-- event = "BufWinEnter",
-- 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 = {},
@ -13,13 +24,12 @@ return {
-- "CursorLineNR",
-- "CursorLineSign",
-- "CursorLineFold",
-- "Pmenu",
-- "PmenuSel",
-- "PmenuSbar",
-- "PmenuThumb",
-- "NormalFloat",
-- "FloatBorder",
-- -- disable nvimtree CursorLine
-- "NvimTreeCursorLine",
-- -- disable Neotree CursorLine
-- "NeoTreeCursorLine",
-- },
-- })
-- end,
-- },
}

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 },
{