feat(vc): install diff-hl

This commit is contained in:
User
2026-06-24 08:43:34 +08:00
parent 128ec92eaf
commit 4208a48b40
2 changed files with 12 additions and 3 deletions

View File

@@ -106,8 +106,9 @@
;; magit
(use-package magit
:config
(setq magit-bind-magit-project-status nil
magit-diff-refine-hunk 'all))
(setq magit-bind-magit-project-status nil)
(unless *is-windows*
(setq magit-diff-refine-hunk 'all)))
;; git-timemachine
(use-package git-timemachine)
@@ -118,6 +119,13 @@
(setq ediff-window-setup-function 'ediff-setup-windows-plain
ediff-split-window-function 'split-window-horizontally))
;; diff-hl
(use-package diff-hl
:hook
(diff-hl-mode . diff-hl-margin-mode)
(diff-hl-mode . global-diff-hl-show-hunk-mouse-mode)
(diff-hl-mode . diff-hl-flydiff-mode))
;; project
(use-package project
:config