Thursday, April 28, 2011

Re: syntax highlighting colors bold text

On Thu, Apr 28, 2011 at 18:12, Ben Schmidt
<mail_ben_schmidt@yahoo.com.au> wrote:
> It is running the correct vim binary, isn't it? I.e. /usr/local/bin is
> in your $PATH before /usr/bin? I think that's where ./configure will put
> it without --prefix being given.

True. 'which vim' gives '/usr/local/bin' for both user and root.

>
> Also...and sorry if this ground has been covered...
>
> - Are you using a colour scheme?

Woudn't this be set in '.vimrc'?

>
> - Does
>  :verbose hi
>  give any insight? I.e. are the colours being set by different files in
>  the different Vim versions?

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.

> - Does Vim give the same result for
>  :set term?
>  in each case?

Yes, both:
term=screen

> - What about
>  :set t_Co?

also both:
t_Co=8

> - Are your $PATH, $LIBPATH, $TERMINFO, etc. the same in both cases; I

Both user's
$PATH, $LIBPATH, $TERMINFO
are identical. ($LIBPATH is empty)

>  had some problems a while ago where different path settings of some
>  kind caused Vim to attempt to use different terminfo libraries as root
>  and as a regular user, and that caused a number of headaches.
>
> I hate it when these sorts of things go wrong. It should be simple, but
> it isn't! Grrr!

True, what a nasty time wasting little bug... :)

Has anybody any ideas for more environment variables I could check,
that could affect Vim?

Regards, mih

--
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: