diff --git a/lua/tccs/colors.lua b/lua/tccs/colors.lua index b0870b4..e929c73 100644 --- a/lua/tccs/colors.lua +++ b/lua/tccs/colors.lua @@ -41,6 +41,7 @@ colors.get_colors = function() removed_bg = "#190E11", -- bonus visual_fg = "#C586C0", + yank_fg = "#F5C359", -- lsp error = "#FB0101", warning = "#FFD602", diff --git a/lua/tccs/theme.lua b/lua/tccs/theme.lua index 95fb1c8..b2f84da 100644 --- a/lua/tccs/theme.lua +++ b/lua/tccs/theme.lua @@ -304,10 +304,14 @@ theme.set_highlights = function(opts) hl(0, "@stringEscape", { fg = c.string, bold = true }) -- modes.nvim - hl(0, "ModesCopy", { bg = c.fg, fg = c.bg }) + hl(0, "ModesCopy", { bg = c.yank_fg }) hl(0, "ModesDelete", { bg = c.removed_fg }) hl(0, "ModesInsert", { bg = c.added_fg }) hl(0, "ModesVisual", { bg = c.visual_fg }) + + -- highlighting on yank + hl(0, "YankHighlight", { bg = c.yank_fg }) + end return theme