Magit: Use git-grep as a magit-todos scanner.

master
Pierre Neidhardt 2020-02-21 09:17:00 +01:00
parent 15c7f5de50
commit 36c06523d6
1 changed files with 1 additions and 3 deletions

View File

@ -218,9 +218,7 @@
(setq magit-repository-directories '(("~/common-lisp" . 1) ; TODO: Sync with homesync / homeinit?
("~/projects" . 1)
("~/.local/share/emacs/site-lisp" . 1)))
(when (require 'magit-todos nil t)
;; REVIEW: Default scanner does not work on Guix because Git needs be compiled with PCRE.
(setq magit-todos-scanner #'magit-todos--scan-with-find|grep)
(when (require 'magit-todos nil 'noerror)
(magit-todos-mode))
(require 'forge nil 'noerror))
(when (fboundp 'magit-status)