From 9712dbc77b5c9860f1a6a42bfab49c12c19203a9 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 20 Feb 2021 09:53:46 +0100 Subject: [PATCH] vcs/gitconfig: always highlight whitespace errors --- vcs/gitconfig.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcs/gitconfig.in b/vcs/gitconfig.in index ce370a5..c8b2304 100644 --- a/vcs/gitconfig.in +++ b/vcs/gitconfig.in @@ -174,6 +174,10 @@ # Highlight moved code in a different color. colorMoved = zebra + # Highlight whitespace errors (at the end of the line) in all lines of + # a diff; the default shows them only in new lines + wsErrorHighlight = old,new,context + # Replace "a/" and "b/" prefix in diffs with characters describing the # context (e.g. "i/"ndex and "w/"ork tree). mnemonicprefix = true -- 2.43.2