From 77e329f9b3360de3cdcdb1168b946886fd3981b3 Mon Sep 17 00:00:00 2001 From: "M. Yas. Davoodeh" <30480116+MYDavoodeh@users.noreply.github.com> Date: Mon, 13 Jul 2020 19:48:56 +0430 Subject: [PATCH] Add the BUG and XXX tags to hl-todo --- modules/ui/hl-todo/config.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/ui/hl-todo/config.el b/modules/ui/hl-todo/config.el index a616bdc69..40fd61f70 100644 --- a/modules/ui/hl-todo/config.el +++ b/modules/ui/hl-todo/config.el @@ -20,7 +20,12 @@ ;; directed at another user other than the author. ("NOTE" success bold) ;; For things that just gotta go and will soon be gone. - ("DEPRECATED" font-lock-doc-face bold))) + ("DEPRECATED" font-lock-doc-face bold) + ;; For a known bug that needs a workaround + ("BUG" error bold) + ;; For warning about a problematic or misguiding code + ("XXX" font-lock-constant-face bold))) + (defadvice! +hl-todo-clamp-font-lock-fontify-region-a (orig-fn &rest args) "Fix an `args-out-of-range' error in some modes."