From 46b7945015c8630e402d7bfaa30d101a4be279f6 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 15 Oct 2019 16:25:42 -0400 Subject: [PATCH] completion/ivy: extend +ivy-task-tags To support the new tag list used in ui/hl-todo. These were derived from https://github.com/bbatsov/emacs-lisp-style-guide --- modules/completion/ivy/config.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index 48d2f8e41..4a4234b94 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -8,8 +8,12 @@ When non-nil, preview non-virtual buffers. When 'everything, also preview virtual buffers") (defvar +ivy-task-tags - '(("TODO" . warning) - ("FIXME" . error)) + '(("TODO" . warning) + ("FIXME" . error) + ("HACK" . font-lock-constant-face) + ("REVIEW" . font-lock-keyword-face) + ("NOTE" . success) + ("DEPRECATED" . font-lock-doc-face)) "An alist of tags for `+ivy/tasks' to include in its search, whose CDR is the face to render it with.")