vim-code-dark
vim-code-dark copied to clipboard
Diff colours
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:
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:
GUI (after):
256 (after):
256 (before):