From 0d72e257dfcbcb7988937596d1166b368aa31d44 Mon Sep 17 00:00:00 2001 From: okm321 Date: Sun, 1 Sep 2024 21:49:09 +0900 Subject: [PATCH] feat: add git and diagnostics color of barbar --- lua/everforest/highlights.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/lua/everforest/highlights.lua b/lua/everforest/highlights.lua index 915a9c6..a1fe628 100644 --- a/lua/everforest/highlights.lua +++ b/lua/everforest/highlights.lua @@ -1234,16 +1234,37 @@ highlights.generate_syntax = function(palette, options) BufferCurrentMod = syntax_entry(palette.blue, palette.bg0), BufferCurrentSign = syntax_entry(palette.statusline1, palette.bg0), BufferCurrentTarget = syntax_entry(palette.red, palette.bg0, { styles.bold }), + BufferCurrentADDED = syntax_entry(palette.aqua, palette.bg0), + BufferCurrentCHANGED = syntax_entry(palette.blue, palette.bg0), + BufferCurrentDELETED = syntax_entry(palette.red, palette.bg0), + BufferCurrentERROR = syntax_entry(palette.red, palette.bg0), + BufferCurrentHINT = syntax_entry(palette.yellow, palette.bg0), + BufferCurrentINFO = syntax_entry(palette.aqua, palette.bg0), + BufferCurrentWARN = syntax_entry(palette.orange, palette.bg0), BufferVisible = syntax_entry(palette.fg, palette.bg_dim), BufferVisibleIndex = syntax_entry(palette.fg, palette.bg_dim), BufferVisibleMod = syntax_entry(palette.blue, palette.bg_dim), BufferVisibleSign = syntax_entry(palette.statusline1, palette.bg_dim), BufferVisibleTarget = syntax_entry(palette.yellow, palette.bg_dim, { styles.bold }), + BufferVisibleADDED = syntax_entry(palette.aqua, palette.bg0), + BufferVisibleCHANGED = syntax_entry(palette.blue, palette.bg0), + BufferVisibleDELETED = syntax_entry(palette.red, palette.bg0), + BufferVisibleERROR = syntax_entry(palette.red, palette.bg0), + BufferVisibleHINT = syntax_entry(palette.yellow, palette.bg0), + BufferVisibleINFO = syntax_entry(palette.aqua, palette.bg0), + BufferVisibleWARN = syntax_entry(palette.orange, palette.bg0), BufferInactive = syntax_entry(palette.grey1, palette.bg_dim), BufferInactiveIndex = syntax_entry(palette.grey1, palette.bg_dim), BufferInactiveMod = syntax_entry(palette.grey1, palette.bg_dim), BufferInactiveSign = syntax_entry(palette.grey0, palette.bg_dim), BufferInactiveTarget = syntax_entry(palette.yellow, palette.bg_dim, { styles.bold }), + BufferInactiveADDED = syntax_entry(palette.grey1, palette.bg0), + BufferInactiveCHANGED = syntax_entry(palette.grey1, palette.bg0), + BufferInactiveDELETED = syntax_entry(palette.grey1, palette.bg0), + BufferInactiveERROR = syntax_entry(palette.grey1, palette.bg0), + BufferInactiveHINT = syntax_entry(palette.grey1, palette.bg0), + BufferInactiveINFO = syntax_entry(palette.grey1, palette.bg0), + BufferInactiveWARN = syntax_entry(palette.grey1, palette.bg0), BufferTabpages = syntax_entry(palette.grey1, palette.bg_dim, { styles.bold }), BufferTabpageFill = syntax_entry(palette.bg_dim, palette.bg_dim),