-
-
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
bundle depedencies? #2
Comments
Yeah, that would be nice, though I don't have any burning desire to win the internet. Actually the lack of proper dependency control mechanism has been something that always irked me about Vim plugins. But even if I come up with some kind of dependency specification standard, it's painfully obvious that I don't have enough influence on the other plugin developers to enforce them to follow the rule. But still, it's a very intriguing subject. I'll think about that. |
I've added an experimental dependency resolution scheme. See: https://github.com/junegunn/vim-plug#dependency-resolution I don't expect to see a plugin with |
Nice! I think I'll switch for a while and see how it goes. Do you have an rtp specification for bundles? Sometimes certain bundles have files in a weird directory. Some sort of additional object hash would also let you manually specify dependencies for bundles too: Plug 'rstacruz/sparkup', {'rtp': 'vim/', 'dependencies': ['foo/bar', 'foo/etc'] } |
Ah, that
Plug 'rstacruz/sparkup', {'rtp': 'vim/'}
Plug 'foo/bar'
Plug 'foo/etc' |
It's done. Let me know if you have a problem with it. |
Can you support vim-pi and addon-info.json? https://bitbucket.org/vimcommunity/vim-pi I want to support vim-pi/addon-info.js in neobundle. |
Neato
|
@Shougo Maybe. Could you please open a new issue so that we can continue the discussion there? |
Thanks. But Mr.Bram thinks about plugin managers and plugin central managers. |
@Shougo Sounds great. Honestly I wasn't so sure if addon-info.json was THE format we should all support. |
Because, most used plugin information format is addon-info.json. |
@Shougo I'm just saying that it has never reached critical mass to be realized as a de facto standard we should all settle for. For example, out of 38 plugins I currently use, only one has addon-info.json. I still think addon-info.json is better than the known alternatives in that it's more neutral and not bound too tight to a specific plugin manager implementation, but is it the best format we could conceive of? I don't know. The best option I think at this stage is that Bram finally comes up with a canonical format we all should follow. |
Because vim-pi uses the format and it supports more popular plugins, I think it is worth supporting. |
If someone could figure out how to do this properly, or at least settle on a metadata form for declaring bundle dependencies, they would win the internets.
VundleVim/Vundle.vim#7
The text was updated successfully, but these errors were encountered: