-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Idea: variable to disable registration of plugin #442
Comments
Personally I don't see the use case 😕 |
It's more for users and maintainers of vim distributions. Hypothetical use case: I use Now |
With vim-plug configurability has always been "external" so you would do the logic around vim-plug's primitives (like |
Similar, yeah. But that issue is for when you control the vimrc, and mine is for when you don't. Also, this solution would allow that reporter to use a single list of plugins and manipulate Anyways, this is what I've come up with, but it relies on |
Thanks for the suggestion, but however, to me it clealy looks like a responsibility of each distribution. As you might have noticed while coming up with your own solution, implementing the blacklist is easy and requires just a few lines of Vimscript, so I wouldn't worry too much about the duplicate effort. And to be honest, I believe "Vim distribution" is a bad practice and I wouldn't add a feature that I don't need just for the ease of development of those distributions. |
It would be cool if vim-plug checked the name against a list of "disabled" plugins, and if the name is included, simply do nothing in
s:Plug()
.The idea being if people use vim-plug in their distributions (janus, spf-13, dotvim, etc), they wouldn't all need to write their own disabling logic.
Basically:
The text was updated successfully, but these errors were encountered: