I don't think I've done something particular or strange, anyway, last
time I opened Vim the colors where all wrong. The column on the left
with the line numbering was black on black (it should be white on
black) and the whole colorscheme appeared strange. I tried chaning the
colorscheme, but nothing. All the colorscheme appeared "broken". I
tried rebooting, but it didn't solved anything.
Then I moved the CSApprox plugin and everything worked. At least it
worked as it did without that plugin. I tried to reinstall it, but
nothing.
What can I do or check?
Thanks.
It's hard for me to say based on the information you give here... For
starters, what terminal emulator do you use? xterm, gnome-terminal,
konsole, xfce4-terminal? What is the value of $TERM? What does
tput colors
print out at a shell prompt? Do you still see the problem if you
launch vim with
vim -u NONE -N -c 'colorscheme desert' -c 'runtime plugin/CSApprox.vim'
How about if you use
vim -u NORC -N -c 'colorscheme desert' -c 'runtime plugin/CSApprox.vim'
If none of those work, you could try running vim as
vim -u NONE -N -c 'colo desert' -c 'set vfile=/tmp/CSA.txt vbs=20' -c
'runtime plugin/CSApprox.vim' -c q
and then posting the file /tmp/CSA.txt - but that file will probably
be pretty big; that should be a last resort... If you can get me some
more information, I'm sure I can help you get things working.
~Matt
I'm using urxvt and the value of $TERM is: rxvt-unicode
> tput colors
> Do you still see the problem if you
> launch vim with
>
> vim -u NONE -N -c 'colorscheme desert' -c 'runtime plugin/CSApprox.vim'
It opens files with normal black on white.
> How about if you use
>
> vim -u NORC -N -c 'colorscheme desert' -c 'runtime plugin/CSApprox.vim'
The same as above.
>
> If none of those work, you could try running vim as
>
> vim -u NONE -N -c 'colo desert' -c 'set vfile=/tmp/CSA.txt vbs=20' -c
> 'runtime plugin/CSApprox.vim' -c q
> and then posting the file /tmp/CSA.txt - but that file will probably
> be pretty big; that should be a last resort... If you can get me some
> more information, I'm sure I can help you get things working.
Yes it is pretty big.
It's strange, because in the past few days CSApprox worked just fine.
I remembered that yesterday I used Gnome for a while with a test user.
So synaptic downloaded a lot of updates and there was also an update
for rxvt-unicode. My rxvt was compiled from source, to support 256
colors, so I think this messed up everything.
Now I removed rxvt-unicode and recompiled. Everything works.
Thanks, bye.