Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I try to use a colorscheme.

On my desktop it looks like how it should be :

But on my laptop, I have the following colors :

Has you can see the most simple and visible point is in comments. The should be grey on black and they finaly are blue on transparent.

What could make such errors ?

A way to correct it

I just found that if I run :color tetisitry the colors are correctly displayed... Any idea of what happen ?

share|improve this question
What's the output of ":set background?" (with the question mark as part of the command) on both machines? – Heptite Sep 13 '12 at 22:08
That colorscheme seems to be very simple and correctly written. Maybe the highlighting of comments is overwritten somewhere… try :verbose high Comment. – romainl Sep 14 '12 at 5:25
:verbose high Comment returns that the last definition for comment is /usr/share/vim/vim73/syntax/syncolor.vim. I don't understand why this file is loaded after my colorscheme... How is it possible ? – MARTIN Damien Sep 14 '12 at 10:20
up vote 0 down vote accepted

While typing :color Vim displayed default. So I suppose this was partialy overrided by a plugin (I haven't looked further).

I resolved it by moving the colorscheme call at the very end of my vimrc.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.