Skip to content

Use only background colors in diff mode - #473

Open
dpeschel wants to merge 1 commit into
morhetz:masterfrom
dpeschel:diff-mode-use-only-background-pr
Open

Use only background colors in diff mode#473
dpeschel wants to merge 1 commit into
morhetz:masterfrom
dpeschel:diff-mode-use-only-background-pr

Conversation

@dpeschel

@dpeschel dpeschel commented Apr 13, 2026

Copy link
Copy Markdown

Summary

Add a second alternative to the diff-mode highlighting to only use background colors to show diffs. This creates less-intense colors and shows the file syntax (Vimscript, C, LISP, etc.) and the diffs at the same time. See the included screenshots. Let me know if you would like more details; my repo has design notes, but I've kept them out of the PR.

(Also change "Diffs:" section title to "Diff mode:" to distinguish it from the "Diff:" filetype-specific colors.)

Screenshots

Using bg2 for deleted lines

Screenshot with light background and bg2 Screenshot with dark background and bg2

Using bg3 for deleted lines

Screenshot with light background and bg3 Screenshot with dark background and bg3

use background colors to show diffs. This creates less-intense
colors and shows the file syntax (Vimscript, C, LISP, etc.)
and the diffs at the same time.

Change "Diffs:" section title to "Diff mode:" to distinguish it
from the "Diff:" filetype-specific colors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant