From 753913e67d9ac38d0b730de081586a43ea955e55 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Mon, 21 Oct 2024 14:58:04 -0300 Subject: [PATCH] feat(neovim): add transparency.nvim with many tweaks --- .../programs/neovim/lua/plugins/user.lua | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/modules/home-manager/programs/neovim/lua/plugins/user.lua b/modules/home-manager/programs/neovim/lua/plugins/user.lua index 4633bca..61038b8 100644 --- a/modules/home-manager/programs/neovim/lua/plugins/user.lua +++ b/modules/home-manager/programs/neovim/lua/plugins/user.lua @@ -26,6 +26,74 @@ return { 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. { "jmbuhr/otter.nvim",