tools/magit: Show word-granularity on chosen hunk

This really seems like it should be a default, it's so handy to get
better diffs, sort of like how github does it. if set to 'all then it'll
show on all of them, but I think t is good enough.
This commit is contained in:
Aria Edmonds 2018-06-06 18:08:02 +10:00
parent 530bdca097
commit 13413a72e8
No known key found for this signature in database
GPG key ID: 1F7306588FE1F239

View file

@ -22,6 +22,7 @@ load everything.")
#'ivy-completing-read #'ivy-completing-read
#'magit-builtin-completing-read) #'magit-builtin-completing-read)
magit-revision-show-gravatars '("^Author: " . "^Commit: ") magit-revision-show-gravatars '("^Author: " . "^Commit: ")
magit-diff-refine-hunk t ;; Show word-granularity on the currently selected hunk
magit-display-buffer-function magit-display-buffer-function
#'magit-display-buffer-fullframe-status-v1) #'magit-display-buffer-fullframe-status-v1)