doomemacs/modules/ui/hl-todo
Henrik Lissner 5ad4a018b1
ui/hl-todo: map keywords to faces, not color strings
Future proofs changes the loaded them.
2019-12-02 20:22:00 -05:00
..
config.el ui/hl-todo: map keywords to faces, not color strings 2019-12-02 20:22:00 -05:00
packages.el
README.org

:ui hl-todo

This module adds syntax highlighting for TODO/FIXME/NOTE tags in programming major-modes.

What keywords are highlighted (and their color) can be customized through hl-todo-keyword-faces.

;; the default
(setq hl-todo-keyword-faces
      `(("TODO"  . ,(face-foreground 'warning))
        ("FIXME" . ,(face-foreground 'error))
        ("NOTE"  . ,(face-foreground 'success))))