Why do all my MacVim color schemes look wrong?

I have a problem with MacVim color schemes. I have a โ€œsyntaxโ€ in my .vimrc, and I work mostly with Python.

As an example, I attached a screenshot of what the โ€œdefaultโ€ color scheme in MacVim looks like. I am having this problem with varying degrees of color differences for all different patterns. Whenever I find a scheme that I like on the Internet, it never looks like the one in the screenshot.

Any ideas on what the problem is?

here

+6
source share
2 answers

Many themes provide modes for both dark background colors and background colors. If you want to continue using this theme, try running:

:set background=light 

Most of the themes I saw were designed with a darker background and lighter text in my head - I personally find a mostly black screen in front of my eyes than a mostly white screen, so maybe you just need to change the background color to something dark . In this case, you need to run:

 :set background=dark 
+4
source

The problem seems to be in ~ / .gvimrc, see what it does with highlighting (e.g. highlight NonText guibg=grey80 ). I just posted them in if !exists("stupid_colors") .

0
source

Source: https://habr.com/ru/post/908470/


All Articles