Profiling startup of vim : Sourcing two same

29 views
Skip to first unread message

Ni Va

unread,
May 26, 2016, 11:07:59 AM5/26/16
to vim_use
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

vim.log

Ben Fritz

unread,
May 26, 2016, 1:47:28 PM5/26/16
to vim_use

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.

Reply all
Reply to author
Forward
0 new messages