(Emacs)+hl-todo package configuration

Very useful package that makes TODOs pop a bit more.
This commit is contained in:
2021-03-22 06:27:48 +00:00
parent 38f0251391
commit ab6e5c2a57

View File

@@ -1675,6 +1675,21 @@ Colourising the compilation buffer so ansi color codes get computed.
(ansi-color-apply-on-region (point-min) (point-max))))
(add-hook 'compilation-filter-hook #'+compile/colourise))
#+end_src
*** Highlight todo items
TODO items are highlighted in org buffers, but not necessarily in
every buffer. This minor mode highlights all TODO like items via a
list of strings to match. It also configures faces to use when
highlighting.
#+begin_src emacs-lisp
(use-package hl-todo
:after prog-mode
:hook (prog-mode-hook . hl-todo-mode)
:init
(setq hl-todo-keyword-faces
'(("TODO" . "#E50000")
("WAIT" . "#00CC00"))))
#+end_src
** PDF
*** PDF Preamble
PDFs are a great format for (somewhat) immutable text and reports with