On Tue, Apr 22, 2008 at 12:45:25AM +0200, [EMAIL PROTECTED] wrote:

>> some days ago, there was a short discussion on #vim, that one cannot
>> easily prevent plugins from loading. A distribution could install some
>> scripts/plugins in the system-wide vimfiles directory, but the user
>> could not defend against such a "pollution". Each plugin uses a
>> different guard, so it's tedious to find out which one keeps a script
>> from loading.
> 
> Disclaimer: I don't feel directly concerned as my vim distribution are
> the sources from svn (for solaris), or the cream-lite one (i.e.,
> without cream itself).

I too am blessed with a distribution (Gentoo) that doesn't install
anything unless I explicitly ask for it. So I don't have this worry.

But just as a thought -- couldn't the desperate user do something like

    vim --noplugin

and then

    runtime! foo.vim

for all the plugin's the user wants?

GI

-- 
One man's folly is another man's wife.

Attachment: pgpViqgXAy13o.pgp
Description: PGP signature

Raspunde prin e-mail lui