-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
whitelist plugins #122
Comments
Not yet. It's a little unclear how that would interact with built-in plugins. |
I would prefer function for loading specific plugin rather than whitelist (or both). I think it would be great to have possibilty to do:
Instead of
Ok, we can negate the condition and instead of load we can do Unfortunately I can't code this feature and send pull request, so I hope my opinion was constructive and will help to someone who will. FrostyX |
So fugitive, for example, will work just fine without Git, up till the point you explicitly invoke a command. I think plugins that don't are broken, generally speaking. My strategy for dealing with these "broken" plugins is to install them ad hoc on a per machine basis, and limit my shared config to safe plugins. That said, I think the approach I assume you want (put everything you could conceivably want in submodules and then conditionally load them) is valid. I'm just not sure it's a great fit for pathogen. I think if I ever decided to pursue it, it would be in a different plugin entirely. |
I totally agree with this, so I will open new issues in that plugins trackers
Why not? I know there is a Vundle which is doing it this way, so those who wish this feature could use it, but why? I think that Or did you meant it in a way, that is a philosophical problem? |
Since Pathogen doesn't handle installation, this would force the user to both install by hand and update their vimrc on install, and do the reverse on uninstall. That's a ridiculous amount of effort plus opens up 4 different edge cases if they forget a step. |
That's right, pathogen is awesomely easy to use - just one command and new bundle is installed and prepared to use. My suggestion (actually simplier now) is to keep all of this right as it is, cause it's great, and just add one function Most of pathogen users will keep
I want to mention plugins which "run all the time". For example YouCompleteMe which provides code completion. This kind of plugins have no choice than print errors at the time they are loaded. When But of course, its your code, so your last world :-). I am just trying to suggest you, what I think it can be good. |
You can call |
Exactly. I was just trying this function but probably somehow wrong cause it didnt work for me, but now copy&paste worked. For convenience I would prefer |
A problem I had with plugin loading is that from time to time I wanted to disable plugins, either for checking other plugins or disable something temporarily. Instead of disabling a plugin by altering my Perhaps pathoman can help you manage plugins that are loaded (That is, simply disable all plugins which you wish not to be loaded). |
Is it possible to load only whitelisted plugins?
The text was updated successfully, but these errors were encountered: