summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2025-05-18 22:35:16 +0100
committerSam Light <samlight1994@gmail.com>2025-05-18 22:35:16 +0100
commit3fc135d11dfea3f84e95549c239376e85b6f8003 (patch)
treed02c6c9689d8e3e6ce58f07cab0429a20eb10de6 /config
parentf119104c6607d6e2872ce4370b3b9d54078902d5 (diff)
Added diff-hl
Diffstat (limited to 'config')
-rw-r--r--config/editor.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/editor.el b/config/editor.el
index 6b471d3..677b4df 100644
--- a/config/editor.el
+++ b/config/editor.el
@@ -129,3 +129,15 @@
:bind
(("C-c C-e" . flycheck-list-errors))
:init (global-flycheck-mode))
+
+(use-package midnight)
+
+(use-package diff-hl
+ :ensure t
+ :defer nil
+ :diminish
+ :hook
+ ((dired-mode . diff-hl-dired-mode)
+ (magit-post-refresh . diff-hl-magit-post-refresh))
+ :config
+ (global-diff-hl-mode +1))