On 16/01/10 13:23, MK wrote:
I have identical versions of gvim (7.2 patched to 315), configured and built by 
me, on two different systems (FC10 and Ubuntu 9.10).

I also use the exact same .vimrc on both of them, but on the ubuntu one, a lot 
of my :hi commands are overridden by something else.  That is, if I cut and 
paste the lines from the .vimrc into the :command line after start up, they 
work, but they are either not applied before that, or (much more likely) are 
overridden by some other file that gvim reads after the .vimrc.

Doesn't happen on FC-10 altho again, these are the same version with the same 
configuration, and the same .vimrc.

Anyone know what the culprit could be?



In Vim 7, it is relatively easy to find out.

Let's say the vimComment highlight is not what you expect. Then

        :verbose hi vimComment

will tell you not only the present setting, but also (in Vim 7 only) where it was set. (If Vim 7 doesn't say where it was set, it means either a program default, or that you set it by manually typing an ex-command).

Similarly for any other highlight group.


Best regards,
Tony.
--
If scientific reasoning were limited to the logical processes of
arithmetic, we should not get very far in our understanding of the
physical world.  One might as well attempt to grasp the game of poker
entirely by the use of the mathematics of probability.
                -- Vannevar Bush
-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to