vim-code-dark icon indicating copy to clipboard operation
vim-code-dark copied to clipboard

Diff colours

Open samisalreadytaken opened this issue 1 year ago • 0 comments

The first commit renames diff colours to their matching functionality instead of vague DiffRed, DiffGreen names. This makes editing them simpler. Though half of them were unused, maybe I'm misunderstanding their purpose.

The second commit enables syntax highlighting on diff lines. This was previously mentioned here where it was removed. I would agree that the syntax highlighting should be preserved. See image for the difference:

diff_256_c3

The third commit sets the colours from Visual Studio. I suppose VSCode colours differ from VS, hence the difference. This page shows both yellow and green diff lines.

256 DiffText fg was kept the same because I couldn't find a good colour that kept the text and background distinguishable. GUI DiffText bg is "Merge conflict" from VS.

This change might be more personal, or VSC colours might be preferred instead of VS, so I'm fine with dropping it from this PR if needed.

Visual Studio: diff_vs

GUI (after): diff_gui_new

256 (after): diff_256_new1

256 (before): diff_256_old1

samisalreadytaken avatar Dec 03 '23 11:12 samisalreadytaken