feat(neovim): add transparency.nvim with many tweaks

This commit is contained in:
Alexandre Cavalheiro 2024-10-21 14:58:04 -03:00
parent 5257808e5c
commit 753913e67d
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -26,6 +26,74 @@ return {
end, end,
}, },
-- Makes most if not all groups have a transparent background.
{
"xiyaowong/transparent.nvim",
opts = function(_, opts)
opts.groups = {
"Comment",
"Conditional",
"Constant",
"CursorLine",
"CursorLineNr",
"EndOfBuffer",
"Function",
"Identifier",
"LineNr",
"NonText",
"Normal",
"NormalNC",
"Operator",
"PreProc",
"Repeat",
"SignColumn",
"Special",
"Statement",
-- "StatusLine",
-- "StatusLineNC",
"String",
"Structure",
"Todo",
"Type",
"Underlined",
}
opts.extra_groups = {
"CursorColumn",
"CursorLineFold",
"CursorLineSign",
"DiagnosticSignError",
"DiagnosticSignHint",
"DiagnosticSignInfo",
"DiagnosticSignOk",
"DiagnosticSignWarn",
"FloatBorder",
"FoldColumn",
"Folded",
"GitSignsAdd",
"GitSignsChange",
"GitSignsDelete",
"LineNr",
"LineNrAbove",
"LineNrBelow",
"LineNrBelow",
"NeoTreeFloatBoarder",
"NeoTreeMessage",
"NeoTreeNormal",
"NeoTreeTabSeparatorActive",
"NeoTreeTabSeparatorInactive",
"NeoTreeVertSplit",
"NeoTreeWinSeparator",
"TabLine",
"TabLineFill",
"VertSplit",
"WinBar",
"WinBarNC",
"WinSeparator",
}
end,
},
-- Adds highlighting and lsp features for embedded code in documents. -- Adds highlighting and lsp features for embedded code in documents.
{ {
"jmbuhr/otter.nvim", "jmbuhr/otter.nvim",