Highlighting the whole file for 'added and 'removed would also be nice, but it's
kind of a hassle to do right, with sticky overlays.
(file buffer-file-name)\r
(backend (vc-backend file))\r
res)\r
- (when (and backend (not (eq (vc-state file backend) 'up-to-date)))\r
+ (when (and backend (eq (vc-state file backend) 'edited))\r
(diff-hl-with-diff-switches\r
(vc-call-backend backend 'diff (list file) nil nil buf-name))\r
(with-current-buffer buf-name\r