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.
If I try to change color scheme the syntax highlighting chang开发者_开发百科es 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
TunnuzThis 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.
精彩评论