Search code examples
vimcolorssyntax-highlighting

Change syntax color in vim?


I have syntax highlighting on, but comments are set to dark blue. This hard for me to read against a black terminal. How do I change it so that the comments are colored green instead?


Solution

  • Probably you just need to tell vim that you have a dark background:

    :set background=dark
    

    This should change the highlighting to something better readable.