diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-22 06:27:48 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-22 06:27:48 +0000 |
commit | ab6e5c2a575f8890d21f55ff09078bbe8e12bdf8 (patch) | |
tree | 86ece893cf55337c63cba2469fe2f2e7330f8c6b /Emacs | |
parent | 38f0251391e3579666da6535cab7c8d941f92b7e (diff) | |
download | dotfiles-ab6e5c2a575f8890d21f55ff09078bbe8e12bdf8.tar.gz dotfiles-ab6e5c2a575f8890d21f55ff09078bbe8e12bdf8.tar.bz2 dotfiles-ab6e5c2a575f8890d21f55ff09078bbe8e12bdf8.zip |
(Emacs)+hl-todo package configuration
Very useful package that makes TODOs pop a bit more.
Diffstat (limited to 'Emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 072a081..1b6df57 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -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 |