reddit / emacs

hl-todo highlight all line after TODO

muhendisefe · 2022-11-04 11:22
Hi everyone, I am using hl-todo-mode and it highlights TODO keyword and also : punctuation without any problem. However, I also want it to highlight all the words after the TODO keyword until the end of the line. How can I achieve it? ​ EDIT: Answer is [here.](https://github.com/tarsius/hl-todo/discussions/69#discussioncomment-4069108)
MitchellMarquez42 · 2022-11-04 15:09
Does adding the property `:extend t` work?
muhendisefe · 2022-11-05 13:20
How to add this property and where?
MitchellMarquez42 · 2022-11-05 15:28
Cursor over todo keyword. M-x customize-face RET RET Check the box next to "extend" and change the value to yes/true. Click "Apply and save" at the top. Check out the manual on customizing faces.
muhendisefe · 2022-11-06 06:19
It has 3 different faces: bold, font lock comment, and warning. So, I extended them all and pressed the apply and save button. Even though I restart the emacs nothing changed. Any other suggestion?
muhendisefe · 2022-11-06 15:50
Answer to my question is [here.](https://github.com/tarsius/hl-todo/discussions/69#discussioncomment-4069108)