summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-06-09 23:48:52 +0100
committerjao <jao@gnu.org>2022-06-09 23:48:52 +0100
commit01e68cd5747c3eee3cd4c2c30e1f2f9f4660fc31 (patch)
tree1aac8139c77cdb2220b885264045a4b4761bcc8e
parent031a75219f1d6d63e52995a6f1bb1d8d34e5780f (diff)
downloadelibs-01e68cd5747c3eee3cd4c2c30e1f2f9f4660fc31.tar.gz
elibs-01e68cd5747c3eee3cd4c2c30e1f2f9f4660fc31.tar.bz2
diff-hl margin symbols nicely working in terminals
-rw-r--r--init.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/init.el b/init.el
index 875a8f3..5ce1c21 100644
--- a/init.el
+++ b/init.el
@@ -1917,14 +1917,14 @@
;;;; diff fringe indicators (diff-hl)
(use-package diff-hl
:ensure t
- :custom ((diff-hl-draw-borders nil)
+ :custom ((diff-hl-draw-borders t)
(diff-hl-side 'right)
(diff-hl-margin-symbols-alist
- '((insert . "+")
- (delete . "-")
- (change . "~")
- (unknown . "?")
- (ignored . "i"))))
+ '((insert . "█")
+ (delete . "█")
+ (change . "█")
+ (unknown . "█")
+ (ignored . "█"))))
:config
(map-keymap (lambda (_k cmd)
(put cmd 'repeat-map 'diff-hl-command-map))