From 5f9a99b323f0829910c92ec12474d574319164ac Mon Sep 17 00:00:00 2001 From: ikws4 Date: Wed, 29 Sep 2021 22:36:18 +0800 Subject: [PATCH] feat: add highlight for neogit --- lua/rose-pine/theme.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index 50c1cc0..b62527a 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -346,6 +346,14 @@ theme.plugins = { CmpItemAbbrMatch = { fg = p.text, style = 'bold' }, CmpItemAbbrMatchFuzzy = { fg = p.text, style = 'bold' }, CmpItemAbbrDeprecated = { fg = p.subtle, style = 'strikethrough' }, + + -- neogit + -- https://github.com/TimUntersberger/neogit + NeogitDiffAddHighlight = { fg = p.foam, bg = p.highlight_overlay }, + NeogitDiffDeleteHighlight = { fg = p.love, bg = p.highlight_overlay }, + NeogitDiffContextHighlight = { bg = p.highlight }, + NeogitHunkHeader = { bg = p.highlight }, + NeogitHunkHeaderHighlight = { bg = p.highlight }, } return theme