This commit is contained in:
khodowany
2026-05-03 10:13:43 -05:00
parent 772eb31287
commit 0e398930f1
10 changed files with 21 additions and 41 deletions
-5
View File
@@ -1,4 +1,3 @@
-- Make highlight groups transparent while preserving their other attributes
local function make_transparent(name)
local ok, hl = pcall(vim.api.nvim_get_hl, 0, { name = name, link = false })
if ok then
@@ -8,7 +7,6 @@ local function make_transparent(name)
end
local groups = {
-- transparent background
"Normal",
"NormalFloat",
"FloatBorder",
@@ -26,17 +24,14 @@ local groups = {
"TelescopeNormal",
"TelescopePromptBorder",
"TelescopePromptTitle",
-- neotree
"NeoTreeNormal",
"NeoTreeNormalNC",
"NeoTreeVertSplit",
"NeoTreeWinSeparator",
"NeoTreeEndOfBuffer",
-- nvim-tree
"NvimTreeNormal",
"NvimTreeVertSplit",
"NvimTreeEndOfBuffer",
-- notify
"NotifyINFOBody",
"NotifyERRORBody",
"NotifyWARNBody",