summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-19 13:30:00 +0200
committerAlan Pearce2024-05-19 13:30:00 +0200
commitef4c25fdc267f6ce6ed2d29f1eddf4ee7ab7c773 (patch)
treed59e5902b3d7f3fa8538eb59ad1d464845c0bc54
parente58a21f5294fc1cb166cc28ca0370aee6e9c83bb (diff)
downloadnixfiles-ef4c25fdc267f6ce6ed2d29f1eddf4ee7ab7c773.tar.lz
nixfiles-ef4c25fdc267f6ce6ed2d29f1eddf4ee7ab7c773.tar.zst
nixfiles-ef4c25fdc267f6ce6ed2d29f1eddf4ee7ab7c773.zip
emacs: show TODO comments in magit
-rw-r--r--user/emacs/init.el5
-rw-r--r--user/settings/emacs.nix1
2 files changed, 6 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index bec96ede..c72b3082 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -980,6 +980,11 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
             (remove-hook 'magit-section-highlight-hook 'magit-diff-highlight)
             (require 'magit-extras)))
 
+(use-package magit-todos
+ :after magit
+ :config (progn
+           (magit-todos-mode +1)))
+
 (use-package git-gutter-fringe
   :defer 5
   :config (progn
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 27327af7..74d42414 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -132,6 +132,7 @@ in
         lsp-mode
         lispyville
         magit
+        magit-todos
         markdown-mode
         marginalia
         nerd-icons