Refactor magit
All checks were successful
/ test (push) Successful in 23s

This commit is contained in:
Andrea Ciceri 2024-05-12 01:00:01 +02:00
parent 2df8189c91
commit cd9fc69f3d
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

13
init.el
View file

@ -409,13 +409,16 @@
(which-key-setup-side-window-right)) (which-key-setup-side-window-right))
(use-package magit (use-package magit
:hook ((magit-mode . magit-delta-mode))
:custom
(magit-todos-keyword-suffix "([^)]+):")
:config
(magit-todos-mode +1)
:bind (("C-c o g" . magit))) :bind (("C-c o g" . magit)))
(use-package magit-delta
:hook (magit-mode . magit-delta-mode))
(use-package magit-todos
:after magit
:custom (magit-todos-keyword-suffix "\\(?:([^)]+)\\)?:?")
:config (magit-todos-mode 1))
(use-package difftastic (use-package difftastic
:demand t :demand t
:bind (:map magit-blame-read-only-mode-map :bind (:map magit-blame-read-only-mode-map