mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/hl-todo: map keywords to faces, not color strings
Future proofs changes the loaded them.
This commit is contained in:
@ -5,12 +5,12 @@
|
|||||||
:config
|
:config
|
||||||
(setq hl-todo-highlight-punctuation ":"
|
(setq hl-todo-highlight-punctuation ":"
|
||||||
hl-todo-keyword-faces
|
hl-todo-keyword-faces
|
||||||
`(("TODO" . ,(face-foreground 'warning))
|
`(("TODO" warning bold)
|
||||||
("FIXME" . ,(face-foreground 'error))
|
("FIXME" error bold)
|
||||||
("HACK" . ,(face-foreground 'font-lock-constant-face))
|
("HACK" font-lock-constant-face bold)
|
||||||
("REVIEW" . ,(face-foreground 'font-lock-keyword-face))
|
("REVIEW" font-lock-keyword-face bold)
|
||||||
("NOTE" . ,(face-foreground 'success))
|
("NOTE" success bold)
|
||||||
("DEPRECATED" . ,(face-foreground 'font-lock-doc-face))))
|
("DEPRECATED" font-lock-doc-face bold)))
|
||||||
|
|
||||||
;; Use a more primitive todo-keyword detection method in major modes that
|
;; Use a more primitive todo-keyword detection method in major modes that
|
||||||
;; don't use/have a valid syntax table entry for comments.
|
;; don't use/have a valid syntax table entry for comments.
|
||||||
|
Reference in New Issue
Block a user