On Thu, 12 Mar 2009, Harry Putnam wrote:
> 
> bill lam <[email protected]> writes:
> 
> >> Then all the setting I have in ~/.vimrc show up.  Obvious because
> >> syntax highlignting suddenly comes on.
> >
> > I would rather suspect the syntax coloring was altered during boot up.
> > What if you specifically set a testing global variable inside .vimrc
> > and echo that variable after booting up to prove/disprove that .vimrc
> > was sourced or not.
> 
> What do you mean by altered?  I see it is being read by putting the 
> setting: 
>   set ruler    " show the cursor position all the time
> 
> At the very end, and it is enable after starting vim.
> 
> I was wrong to say it wasn´t just maid a dumb assumption from the syn
> hilite evidence.
> 
> So, something is diabling syntax hightlight.  Yet sourcing ~/.vimrc
> manually allows to work ok.

I'm not sure and I'll leaved that to other vim experts to answer.  My
experience is that :syn on or :syn enable will reset color scheme to
system default.  So I put those commands near the end of .vimrc file.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩182 杜甫  蜀相
    丞相祠堂何處尋  錦官城外柏森森  映階碧草自春色  隔葉黃鸝空好音
    三顧頻煩天下計  兩朝開濟老臣心  出師未捷身先死  長使英雄淚滿襟

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to