Thursday, April 28, 2011

Re: syntax highlighting colors bold text

On Thu, Apr 28, 2011 at 19:12, Ben Schmidt
<mail_ben_schmidt@yahoo.com.au> wrote:
>>> - Are you using a colour scheme?
>>
>> Woudn't this be set in '.vimrc'?
>
> Yes. It would be in some startup file if you were using one. I guess
> :verbose hi would also show it up.
>
>>> - Does
>>>  :verbose hi
>>>  give any insight? I.e. are the colours being set by different files in
>>>  the different Vim versions?

The '.vimrc' is the same file for 'mih' and 'root'.

>>
>> I've redircted the output of ':verbose hi' along with the outputs of
>> 'set' for both user and root earlier, and posted them in this thread,
>> and they do differ.
>
> Yes; I glanced at that earlier. I didn't realise :verbose had been
> included that time.
>
>>> - Does Vim give the same result for
>>>  :set term?
>>>  in each case?
>>
>> Yes, both:
>> term=screen
>
> Interesting. Do you still have the problem if you're not running screen
> (which presumably is why term is set that way)?

$ urxvt
$ echo $TERM
rxvt-unicode
$ vim -u NONE -U NONE --noplugin -N .vimrc
:syntax on

problem persists...

Let's try something else:

$ xterm
$ echo $TERM
xterm
$ vim -u NONE -U NONE --noplugin -N .vimrc
:syntax on

<play zelda_fanfare.wav>
HEY!!! That works!
So it's seems to be a 'urxvt' problem then?
Remains the confusing question, why does it affect the user and not root?

Also, I've generated a new user 'cool', when I 'su cool', everything
is displayed as it should be.

mih

>
> I'll have a little look at Vim's source code and see if I can spot what
> would make it set defaults differently re boldness, if Vim defaults
> indeed appears to be where the differences originate....
>
> Ben.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: