I am trying to customize a theme for myself, and now I am finding a way to change the highlight color of constant values such as 10 and 10.5677. For example, C mode in Vim highlights those constant values in blue, while c mode in Emacs does not highlight with any distinctive colors (the currently-highlighted color is black) compared with its counterpart. Based on the emacs document of font-lock-faces, there is no font-lock to change the highlight color for the constant values.

If you have a solution or have done it before, please let me know.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.