Add the BUG and XXX tags to hl-todo

This commit is contained in:
M. Yas. Davoodeh 2020-07-13 19:48:56 +04:30 committed by GitHub
parent 1cec7bf8be
commit 77e329f9b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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."