I think it is because you may have a copy of the plugin in $VIMRUNTIME as well as in your .vim folder. In this way, your .vim copy is sourced first (well, according to 'rtp'), sets the g:plugin_name variable and when the $VIMRUNTIME plugins are sourced, and it sees the variable and prevents loading that copy of the plugin also.
regards, Peter --- Yakov Lerner <[EMAIL PROTECTED]> wrote: > Almost every plugin begins with this check: > if exists("g:plugin_name") | finish | endif > let g:plugin_name = 1 > I understand this tries to save time if vim tries to load plugins 2nd time. > But aren't plugins loaded only at vim startup ? Does vim *ever* > ever try to load plugins 2nd time ? In which situation can vim load > plugin 2nd time (except for some manual command) ? > > Yakov > ____________________________________________________ Do you Yahoo!? Yahoo!7 Time Capsule - Make your mark and be a part of history http://www.yahoo7.com.au/timecapsule