I'm loading a deftheme
theme using (load-theme)
. I'm very happy with it most cases, but in yaml-mode
I'd like to change attributes for font-lock-variable-name-face
.
How can I make the theme use different face attributes for it in a single buffer?
face-remap-add-relative
in conjunction with a particular major-mode hook, see https://stackoverflow.com/a/28008006/2112489 – lawlist Feb 28 '21 at 22:33yaml-mode
, so I could not test anything and that is why I did not want to venture to write up an answer ... – lawlist Mar 01 '21 at 06:34