aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-20 23:57:07 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-20 23:57:07 -0400
commite3176dd410d2ed5b5211c3aab64e48a09abb5574 (patch)
treedc62ed33143d8a98ffe57cd562b1c3a38c631d29
parentEnable `global-diff-hl-mode` (diff)
downloadmmosmacs-e3176dd410d2ed5b5211c3aab64e48a09abb5574.tar.gz
mmosmacs-e3176dd410d2ed5b5211c3aab64e48a09abb5574.tar.bz2
mmosmacs-e3176dd410d2ed5b5211c3aab64e48a09abb5574.zip
Use hooks to start `diff-hl` mode only in `prog-mode` buffers
-rw-r--r--init.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.el b/init.el
index df12d7d..3961269 100644
--- a/init.el
+++ b/init.el
@@ -497,9 +497,9 @@
497 497
498(use-package diff-hl 498(use-package diff-hl
499 :straight t 499 :straight t
500 :config 500 :hook
501 (global-diff-hl-mode) 501 (prog-mode . diff-hl-mode)
502 (diff-hl-flydiff-mode)) 502 (diff-hl-mode . diff-hl-flydiff-mode))
503 503
504 504
505 505