mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor(vc-gutter): use local modes instead of global
This commit is contained in:
@ -143,7 +143,8 @@ is deferred until the file is saved. Respects `git-gutter:disabled-modes'."
|
|||||||
|
|
||||||
(use-package! diff-hl
|
(use-package! diff-hl
|
||||||
:when (featurep! +diff-hl)
|
:when (featurep! +diff-hl)
|
||||||
:hook (doom-first-file . global-diff-hl-mode)
|
:hook (find-file . diff-hl-mode)
|
||||||
|
:hook (vc-dir-mode . diff-hl-dir-mode)
|
||||||
:hook (diff-hl-mode . diff-hl-flydiff-mode)
|
:hook (diff-hl-mode . diff-hl-flydiff-mode)
|
||||||
:config
|
:config
|
||||||
(set-popup-rule! "^\\*diff-hl" :select nil :size '+popup-shrink-to-fit)
|
(set-popup-rule! "^\\*diff-hl" :select nil :size '+popup-shrink-to-fit)
|
||||||
|
Reference in New Issue
Block a user