about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-07-27 14:06:53 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-07-27 14:06:53 +0100
commita08cf4ee4402d7a17f3bdf4869f0cb39a2477370 (patch)
tree5f1c1954a42c526b52558ec0e7dc11d0ac73fe21
parent01ecd96aa7929625f11a64e3eb6b8f74c6558112 (diff)
downloaddotfiles-a08cf4ee4402d7a17f3bdf4869f0cb39a2477370.tar.gz
hl-todo colours
-rw-r--r--.emacs.d/lisp/init-ui.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el
index 5ea2c29..dad86ea 100644
--- a/.emacs.d/lisp/init-ui.el
+++ b/.emacs.d/lisp/init-ui.el
@@ -102,6 +102,7 @@
   :config (which-key-mode +1))
 
 (use-package hl-todo
+  :after modus-themes
   :bind
   (:map hl-todo-mode-map
         ("C-c c t p" . hl-todo-previous)
@@ -109,6 +110,18 @@
         ("C-c c t o" . hl-todo-occur)
         ("C-c c t r" . hl-todo-rgrep)
         ("C-c c t i" . hl-todo-insert))
+  :custom
+  (hl-todo-keyword-faces
+   '(("TODO"   . "red")
+     ("djm"    . "green")
+     ("FIXME"  . "red")
+     ("DEBUG"  . "#A020F0")
+     ("GOTCHA" . "#FF4500")
+     ("HACK" . "#FF4500")
+     ("STUB"   . "#1E90FF")
+     ("FAIL"   . "red")
+     ("NOTE"   . "DarkOrange2")
+     ("DEPRECATED" . "yellow")))
   :config
   (global-hl-todo-mode 1))