aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-prog.el
diff options
context:
space:
mode:
authorbard <[email protected]>2024-05-17 20:56:17 -0400
committerbard <[email protected]>2024-05-17 20:56:17 -0400
commit06aa3733dd7168a4b14b43692a2594526af445f4 (patch)
treeaf2b60b2c025bbaf1dde8df9e8dd134a90126176 /bard-emacs-modules/bard-emacs-prog.el
parent49a0077ad1809a02b57351adbc2ad7f5782bb87e (diff)
fix: ensure true
ensure true for external use-package declarations
Diffstat (limited to 'bard-emacs-modules/bard-emacs-prog.el')
-rw-r--r--bard-emacs-modules/bard-emacs-prog.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/bard-emacs-modules/bard-emacs-prog.el b/bard-emacs-modules/bard-emacs-prog.el
index 296fe63..e2a5598 100644
--- a/bard-emacs-modules/bard-emacs-prog.el
+++ b/bard-emacs-modules/bard-emacs-prog.el
@@ -101,6 +101,7 @@
;; Version control
(use-package magit
+ :ensure t
:config
(define-key global-map (kbd "C-c g") #'magit))
@@ -112,9 +113,12 @@
("C-j" . dired-jump)))
(use-package diff-hl
+ :ensure t
:after magit
(add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh)
- (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))
+ (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
+ :init
+ (add-hook 'prog-mode-hook 'diff-hl-mode))
(provide 'bard-emacs-prog)
;;; bard-emacs-prog.el ends here