completion/ivy: fix +ivy/tasks, add :todo & +ivy:todo

This commit is contained in:
Henrik Lissner 2017-05-10 06:13:14 +02:00
parent c4e404b0bb
commit bfd79e78ce
4 changed files with 67 additions and 6 deletions

View file

@ -1,5 +1,10 @@
;;; completion/ivy/packages.el
(defvar +ivy-task-tags '(("TODO" . warning)
("FIXME" . error))
"An alist of tags for `+ivy/tasks' to include in its search, whose CDR is the
face to render it with.")
(defmacro ivy-do-action! (action)
"A factory function that returns an interactive lamba that sets the current
ivy action and immediately runs it on the current candidate (ending the ivy