From 951b2be7d1efdba38898de7209a4459b81edc60b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 31 Jan 2019 20:24:03 -0500 Subject: [PATCH] Enable magit-todos-mode globally Rather than treat it like it's a minor mode. --- modules/tools/magit/config.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/tools/magit/config.el b/modules/tools/magit/config.el index c6ce4e960..e8827323f 100644 --- a/modules/tools/magit/config.el +++ b/modules/tools/magit/config.el @@ -45,11 +45,12 @@ what features are available.") (def-package! magit-todos - :hook (magit-mode . magit-todos-mode) + :after magit :config (setq magit-todos-require-colon nil) (define-key magit-todos-section-map "j" nil) - (advice-add #'magit-todos-mode :around #'doom*shut-up)) + (advice-add #'magit-todos-mode :around #'doom*shut-up) + (magit-todos-mode +1)) (def-package! magithub