diff options
author | jao <jao@gnu.org> | 2022-06-09 03:47:00 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-06-09 03:47:00 +0100 |
commit | 35ad69b66634963e6518ae50b9aaeb93d4807426 (patch) | |
tree | 5fb4855853e1aac70c06684e31ed18c13ec98b1d /init.el | |
parent | 3611515f94a7c39098b88ddf551c400b021b86ee (diff) | |
download | elibs-35ad69b66634963e6518ae50b9aaeb93d4807426.tar.gz elibs-35ad69b66634963e6518ae50b9aaeb93d4807426.tar.bz2 |
diff-hl-margin-mode for the terminal
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1931,10 +1931,11 @@ (map-keymap (lambda (_k cmd) (put cmd 'repeat-map 'diff-hl-command-map)) diff-hl-command-map) - (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh) - (when (jao-colors-scheme-dark-p) (diff-hl-margin-mode 1))) + (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)) (global-diff-hl-mode 1) +(when (or (not (display-graphic-p)) (jao-colors-scheme-dark-p)) + (diff-hl-margin-mode 1)) ;;;; magit and forge (use-package magit |