mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
Alexander-Miller/treemacs@1820db42c6 -> Alexander-Miller/treemacs@b18a05b1f6 Bad-ptr/persp-mode.el@298df111f0 -> Bad-ptr/persp-mode.el@7a594a3d8f abo-abo/ace-window@c7cb315c14 -> abo-abo/ace-window@0577c426a9 abo-abo/hydra@2d553787ac -> abo-abo/hydra@9e9e00cb24 doomemacs/themes@56e8a93b2d -> doomemacs/themes@83fd9545c2 edkolev/evil-goggles@08a22058fd -> edkolev/evil-goggles@8f20a16e74 ema2159/centaur-tabs@5860a5c40c -> ema2159/centaur-tabs@f4cef95acb emacs-lsp/lsp-treemacs@c40a381730 -> emacs-lsp/lsp-treemacs@355e468b7f seagle0128/doom-modeline@84573ae5e7 -> seagle0128/doom-modeline@ce9899f00a tarsius/hl-todo@42f744ffb5 -> tarsius/hl-todo@e52285965b Close: #6228
:ui hl-todo
Description
This module adds syntax highlighting for TODO/FIXME/NOTE tags in programming major-modes.
Module Flags
This module provides no flags
Plugins
Prerequisites
This module has no prerequisites
Features
Making Items
You can make a TODO item by simply writing
TODOFor things that need to be done, just not today.HACKFor tidbits that are unconventional and not intended uses of the constituent parts, and may break in a future update.FIXMEFor problems that will become bigger problems later if not fixed ASAP.REVIEWfor things that were done hastily and/or hasn't been thoroughly tested. it may not even be necessary!NOTEFor especially important gotchas with a given implementation, directed at another user other than the author.DEPRECATEDFor things that just gotta go and will soon be gone.BUGFor a known bug that needs a workaroundXXXFor warning about a problematic or misguiding code
Keybindings
| keybind | description |
|---|---|
]t |
go to next TODO item |
[t |
go to previous TODO item |
SPC p t |
show all TODO items in a project |
SPC s p |
search project for a string |
SPC s b |
search buffer for string |
TODO Adding items.
The way you would add a TODO item is to use a snippet but these have not been
made. you can make them yourself by adding the snippet to
$DOOMDIR/snippets/MAJOR-MODE/name-of-snippet. you will find more info on how
to make them here
Configuration
To add your own ITEMS you would need to configure them using
hl-todo-keyword-faces
;; the default
(after! hl-todo
(setq hl-todo-keyword-faces
`(
("FOO" . ,(face-foreground "MY COLOUR HEX CODE"))
("BAR" . ,(face-foreground 'my-colour-var)))))
TODO Troubleshooting
If you have any problems with this module do get in touch!