config/default: invoke magit-todos-list on SPC p t

Before falling back to +ivy/tasks and helm/tasks (not implemented yet).
This commit is contained in:
Henrik Lissner
2019-10-20 13:35:06 -04:00
parent 0218985b3e
commit 9634a3860e

View File

@@ -77,7 +77,9 @@ If ARG (universal argument), runs `compile' from the current directory."
(defun +default/project-tasks ()
"Invokes `+ivy/tasks' or `+helm/tasks', depending on which is available."
(interactive)
(cond ((featurep! :completion ivy) (+ivy/tasks))
(cond ((featurep! :tools magit)
(call-interactively #'magit-todos-list))
((featurep! :completion ivy) (+ivy/tasks))
((featurep! :completion helm) (+helm/tasks))))
;;;###autoload