Emacs css-mode is fontifying my colour literals. For example:
This makes the text harder to read.
I tried to defeat it with the following in my .emacs
.
(Note: this matches on ‘hsl’ because those are the only literals I actually use.)
(font-lock-add-keywords nil
'(
("color: *\\(hsla?(.*)\\)" 1 'default t) ; Colour literal
)
)
This fails. I can override the fontification of other things, but somehow these colour literals are override proof.
How can I defeat this unwanted fontification?
.el
: ‘defcustom’. Thank you. – Michael Allan Dec 16 '18 at 14:14customize-group
,apropos-variable
, or just completion indescribe-variable
, you have several good methods for discovering which options are available without resorting to searching fordefcustom
in the.el
file. Obviously you can do that, but it probably shouldn't be your first port of call. – phils Dec 16 '18 at 21:28