Change Emacs syntax highlighting colors

前端 未结 4 921
天命终不由人
天命终不由人 2020-12-22 22:53

I\'m running Emacs, editing files in C++ mode and PHP mode. I love syntax highlighting as a concept, but the default colors are a travesty. I can barely read some of them: w

4条回答
  •  执念已碎
    2020-12-22 23:43

    I find it easiest to use color-theme for this sort of thing.

    https://www.emacswiki.org/emacs/ColorThemes

    But if you don't want to do that, put the cursor over the offending text, hit M-x customize-face. It should default to the face that the cursor is over.

    http://www.gnu.org/software/emacs/manual/html_node/emacs/Specific-Customization.html

提交回复
热议问题