Skip to content

Commit

Permalink
fix: derive Staged*Cul highlight correctly
Browse files Browse the repository at this point in the history
The GitSignsStagedTopdeleteCul highlight (especially the foreground) was
very hard to read. It seems the issue was that
GitSignsStagedTopdeleteCul incorrectly derived from
GitSignsStagedChangeCul instead of the expected GitSignsChangedeleteCul.

So I think the fg_factor ended up being 0.5 of 0.5 equals .25,
foreground extremely dim.

Likely just a simply cut-and-paste oversight.

With this change the dim problem goes away.
  • Loading branch information
bluz71 authored and lewis6991 committed Jul 25, 2024
1 parent b29cb58 commit 1d2cb56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/gitsigns/highlight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ M.hls = {
{ GitSignsStagedAddCul = { 'GitSignsAddCul', fg_factor = 0.5, hidden = true } },
{ GitSignsStagedChangeCul = { 'GitSignsChangeCul', fg_factor = 0.5, hidden = true } },
{ GitSignsStagedDeleteCul = { 'GitSignsDeleteCul', fg_factor = 0.5, hidden = true } },
{ GitSignsStagedChangedeleteCul = { 'GitSignsStagedChangeCul', fg_factor = 0.5, hidden = true } },
{ GitSignsStagedTopdeleteCul = { 'GitSignsStagedDeleteCul', fg_factor = 0.5, hidden = true } },
{ GitSignsStagedChangedeleteCul = { 'GitSignsChangedeleteCul', fg_factor = 0.5, hidden = true } },
{ GitSignsStagedTopdeleteCul = { 'GitSignsTopdeleteCul', fg_factor = 0.5, hidden = true } },

{
GitSignsAddPreview = {
Expand Down

0 comments on commit 1d2cb56

Please sign in to comment.