Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I try to use a colorscheme.

On my desktop it looks like how it should be :

https://github.com/martin-damien/tetrisity-vim/blob/master/tetrisity-vim.png

But on my laptop, I have the following colors :

http://img703.imageshack.us/img703/8444/errorufl.png

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

1 Answer 1

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

 
discard

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.