nvim/lua/plugins/transparent.lua
2025-06-27 16:33:00 +08:00

43 lines
953 B
Lua

return {
"xiyaowong/transparent.nvim",
groups = {
"Normal",
"NormalNC",
"Comment",
"Constant",
"Special",
"Identifier",
"Statement",
"PreProc",
"Type",
"Underlined",
"Todo",
"String",
"Function",
"Conditional",
"Repeat",
"Operator",
"Structure",
"LineNr",
"NonText",
"SignColumn",
"CursorLine",
"CursorLineNr",
"StatusLine",
"StatusLineNC",
"EndOfBuffer",
},
-- table: additional groups that should be cleared
extra_groups = {},
-- table: groups you don't want to clear
exclude_groups = {},
-- function: code to be executed after highlight groups are cleared
-- Also the user event "TransparentClear" will be triggered
on_clear = function() end,
config = function()
require("transparent").clear_prefix("lualine")
require("transparent").clear_prefix("NeoTree")
require("transparent").clear_prefix("BufferLine")
end,
}