运行M-x customize-face font-lock-comment-face并设置height
属性,以及background
您foreground
希望如何突出显示注释。
要在会话之间保留此内容,Save for future sessions
请从自定义屏幕中选择或将其添加到您的.emacs
:
(custom-set-faces
'(font-lock-comment-face ((t (:background "yellow" :foreground "red" :height 0.5)))))