Closed sfavazza closed 11 months ago
After some debugging and testing the following solution worked for me:
(add-hook 'spacemacs-post-theme-change-hook
(lambda ()
(mapc (lambda (hl-tuple) (add-to-list 'hl-todo-keyword-faces
hl-tuple))
'(("WARNING" . "#b1951d")
("IMPORTANT" . "#f2241f")))))
The failure of the first snippet of code was due to the fact that:
hl-todo-keyword-faces
is customized when loading the spacemacs theme
Description :octocat:
I was trying to add few keywords to the
hl-todo-keyword-faces
without success.Reproduction guide :beetle:
dotspacemacs/user-config
Observed behaviour: :eyes: :broken_heart: Nothing change, the highlighting remains unchanged.
Expected behaviour: :heart: :smile: The highlighting of the additional words should reflect the given configuration.
System Info :computer: