Install and configure diff-hl

This commit is contained in:
Tobias Ostner 2026-03-21 15:04:42 +01:00
parent f15dd52e68
commit 7319372c3e
2 changed files with 11 additions and 0 deletions

View file

@ -116,6 +116,16 @@
(setq denote-directory (expand-file-name "~/TobCloud/Denote/"))
(denote-rename-buffer-mode 1))
(use-package diff-hl
:hook ((prog-mode . diff-hl-mode)
(dired-mode . diff-hl-dired-mode)
(magit-post-refresh . diff-hl-magit-post-refresh))
:config
(diff-hl-flydiff-mode)
(unless (display-graphic-p)
(diff-hl-margin-mode 1))
(global-diff-hl-mode))
(use-package dired
:init
(setq dired-dwim-target t

View file

@ -57,6 +57,7 @@
copilot
corfu
denote
diff-hl
dockerfile-mode
ef-themes
eglot