Skip to content

Commit

Permalink
refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Sep 20, 2023
1 parent 0097377 commit 5b8f4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/init-highlight.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
Expand All @@ -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)
Expand Down

0 comments on commit 5b8f4e1

Please sign in to comment.