feat(vc): install diff-hl
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user