refactor(vc-gutter): use local modes instead of global
This commit is contained in:
parent
b06fd63dcb
commit
15b00b78fe
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue