From 5b4ea43ccb4ac4254abc0c5696239d7ec17f553f Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 20 Feb 2021 11:53:40 -0500 Subject: [PATCH] Ensure hl-line-mode is on in magit buffers --- emacs/.emacs.d/config/init-git.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/.emacs.d/config/init-git.el b/emacs/.emacs.d/config/init-git.el index 5a6e2f9..45cfb21 100644 --- a/emacs/.emacs.d/config/init-git.el +++ b/emacs/.emacs.d/config/init-git.el @@ -4,6 +4,7 @@ (leader-def-key "g" '(nil :which-key "git")) :config (evil-collection-magit-setup) + (add-hook 'magit-mode-hook #'hl-line-mode) :general (leader-map "gs" #'magit-status "gg" #'magit-file-dispatch