From: Simon Ruderich Date: Sat, 20 Feb 2021 08:53:46 +0000 (+0100) Subject: vcs/gitconfig: always highlight whitespace errors X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=9712dbc77b5c9860f1a6a42bfab49c12c19203a9;p=config%2Fdotfiles.git vcs/gitconfig: always highlight whitespace errors --- 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