Thursday, May 26, 2016

Re: Profiling startup of vim : Sourcing two same

On Thursday, May 26, 2016 at 10:07:59 AM UTC-5, Ni Va wrote:
> Hi,
>
> By checking my startup of gvim, i notice that some plugin like solarized is loaded two times.
>
> I don't understand why, someone can explain to me that thing ?
> thanks
> niva

For colorscheme files in particular, turning on syntax highlighting with "syntax on" will automatically re-apply your colorscheme, if you've set a colorscheme already.

So probably you applied your colorscheme before turning on syntaxt in your .vimrc. To avoid this you may be able to put your colorscheme command after "syntax on". But I'm not 100% clear on the complexities involved.

There may be different reasons for others of the duplicated files.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment