> 1) All standard plugins supplied by vim should have a common method of
> suppressing their loading.  That is, they should all have a common
> variable name to suppress them.  For example, to suppress plugin "x",
> a variable "g:plugin_x_loaded" should be set or something.

How would this be different from the current convention to name the
variable "g:loaded_x"?

> 2) Easier:  don't have the plugins load by default.   Move them to a
> parallel "extra" directory, and then the person who wants to load "x"
> can do "runtime extras/x.vim" in the vimrc

I basically agree that vim shouldn't load plugins that were not
intentionally installed/enabled by the user. The downside of disabling
those standard plugins would be though that newbies would have a more
difficult time.

> 3) Harder: have the "ScriptPre" autocommand actually be useful.  Allow
> the user to set a variable of some kind to tell vim to not continue
> loading this script.

Or simply define those variables in your vimrc file?

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

Raspunde prin e-mail lui