From 50cacdc992b980d9f8dd71ef6e7b82d2a92ffb7d Mon Sep 17 00:00:00 2001 From: NTBBloodbath Date: Mon, 10 Jul 2023 12:11:20 -0400 Subject: [PATCH] ref(highlights.plugins): make neogit highlights more dynamic, remove hardcoded hex --- lua/sweetie/highlights/plugins.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/sweetie/highlights/plugins.lua b/lua/sweetie/highlights/plugins.lua index f4d7a3a..47a9024 100644 --- a/lua/sweetie/highlights/plugins.lua +++ b/lua/sweetie/highlights/plugins.lua @@ -49,12 +49,12 @@ plugins.setup = function(palette, config) NeogitBranch = { fg = palette.magenta }, NeogitRemote = { fg = palette.violet }, NeogitStashes = { fg = palette.blue, bold = true }, - NeogitHunkHeader = { fg = palette.fg, bg = "#303042" }, + NeogitHunkHeader = { fg = palette.fg, bg = palette.bg_hl }, NeogitHunkHeaderHighlight = { fg = palette.teal, bg = palette.bg_alt }, - NeogitDiffAdd = { fg = palette.green, bg = "#303042" }, - NeogitDiffAddHighlight = { fg = palette.green, bg = "#303042", bold = true }, - NeogitDiffDelete = { fg = palette.red, bg = "#303042" }, - NeogitDiffDeleteHighlight = { fg = palette.red, bg = "#303042", bold = true }, + NeogitDiffAdd = { fg = palette.green, bg = palette.bg_hl }, + NeogitDiffAddHighlight = { fg = palette.green, bg = palette.bg_hl, bold = true }, + NeogitDiffDelete = { fg = palette.red, bg = palette.bg_hl }, + NeogitDiffDeleteHighlight = { fg = palette.red, bg = palette.bg_hl, bold = true }, NeogitDiffContext = { fg = palette.fg_alt, bg = palette.bg }, NeogitDiffContextHighlight = { fg = palette.fg, bg = palette.bg_alt, bold = true }, NeogitStagedChanges = { fg = palette.blue, bold = true },