-
-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Description
There are a few situations where Diffview uses the DiffDelete highlight group, where it seems it'd make more sense to use DiffviewDiffDelete or DiffviewDiffAddAsDelete.
I have my coloursheme set up as follows.
highlights["DiffDelete"] = { bg = "#5A424D", fg = "none" } -- Red
highlights["DiffviewDiffAddAsDelete"] = { bg = "none", fg = "#4C566A" } -- Dark grey
highlights["DiffviewDiffDelete"] = { bg = "none", fg = "#4C566A" } -- Dark grey
highlights["DiffAdd"] = { bg = "#45504F" } -- Green
highlights["DiffChange"] = { bg = "#54524F" } -- Yellow
highlights["DiffText"] = { bg = "#70695A" } -- Lighter yellowThis looks great for the most part, for files with single or few-line diffs, e.g.
But when diffs span entire files, e.g. when a file is added, it appears DiffDelete is applied, which seems inappropriate.
Do you think it'd make sense to change the highlight groups used in these scenarios? Or can you suggest another change that might fix these odd-looking colours? Happy to have a go myself with a bit of guidance.
Metadata
Metadata
Assignees
Labels
No labels



