From 5b8f4e1e67a613cc4bacf1fa51721f6894098d72 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 20 Sep 2023 16:38:58 +0800 Subject: [PATCH] refactor. --- lisp/init-highlight.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/init-highlight.el b/lisp/init-highlight.el index 4140d321f..fade9c5e0 100644 --- a/lisp/init-highlight.el +++ b/lisp/init-highlight.el @@ -236,6 +236,7 @@ FACE defaults to inheriting from default and highlight." ;; Highlight uncommitted changes using VC (use-package diff-hl + :custom (diff-hl-draw-borders nil) :custom-face (diff-hl-change ((t (:inherit custom-changed :foreground unspecified :background unspecified)))) (diff-hl-insert ((t (:inherit diff-added :background unspecified)))) @@ -245,7 +246,6 @@ FACE defaults to inheriting from default and highlight." :hook ((after-init . global-diff-hl-mode) (after-init . global-diff-hl-show-hunk-mouse-mode) (dired-mode . diff-hl-dired-mode)) - :init (setq diff-hl-draw-borders nil) :config ;; Highlight on-the-fly (diff-hl-flydiff-mode 1)