开发者

Vim color schemes don't load anymore

开发者 https://www.devze.com 2023-04-13 09:32 出处:网络
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-whi

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.

Vim color schemes don't load anymore

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

Tunnuz


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消