Search code examples
vimmacportscolor-scheme

Vim color schemes don't load anymore


Today I installed the last version of MacPorts on my laptop, since then (though I cannot be sure that this is the real cause) vim's color schemes don't load anymore. Instead, a strange black-and-white color scheme shows up, in which line numbers and reserved keywords are underlined.

(That's what I am talking 'bout)

If I try to change color scheme the syntax highlighting changes a bit, but still black and white.

Note that MacVim, which shares .vimrc with text-based vim, display the correct color scheme.

I have already tried relaxing file permissions on the colors and syntax directories in the vim directory.

Do you have any idea on what could have happened?

Thank you
Tunnuz


Solution

  • This sounds like an issue with vim's ability to detect if your terminal supports colors. Take a look at this from the vim documentation, specifically the second bullet point.