Variable: magit-diff-paint-whitespace-lines

magit-diff-paint-whitespace-lines is a customizable variable defined in magit-diff.el.

Value

t

Documentation

Specify in what kind of lines to highlight whitespace errors.

t Highlight only in added lines.
both Highlight in added and removed lines.
all Highlight in added, removed and context lines.

This variable was added, or its default value changed, in magit version 3.0.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-diff.el
(defcustom magit-diff-paint-whitespace-lines t
  "Specify in what kind of lines to highlight whitespace errors.

`t'       Highlight only in added lines.
`both'    Highlight in added and removed lines.
`all'     Highlight in added, removed and context lines."
  :package-version '(magit . "3.0.0")
  :group 'magit-diff
  :safe (##memq % '(t both all))
  :type '(choice (const :tag "In added lines" t)
                 (const :tag "In added and removed lines" both)
                 (const :tag "In added, removed and context lines" all)))