Files
Fredrik Foss-Indrehus f6e48d1bcd colorize: highlight trailing whitespace in diff lines
Render trailing spaces and tabs in diff additions, deletions, and
context lines with a red background by default, similar to git's
diff.wsErrorHighlight = all (old,new,context). See git-diff(1).

The style is configurable with the diff_whitespace styleset option.

Changelog-added: Trailing whitespace in diff addition, deletion
 and context lines are now highlighted with a red background by
 default, similar to git's `diff.wsErrorHighlight` option set to
 `all`. Configurable with `[viewer].diff_whitespace` styleset option.
Signed-off-by: Fredrik Foss-Indrehus <fredrik@ffoss.net>
Acked-by: Robin Jarry <robin@jarry.cc>
2026-01-07 11:19:30 +01:00
..
2025-08-28 09:56:54 +02:00