Skip to content
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

Vundle for a specific file-type #364

Closed
emnoor opened this issue Dec 7, 2013 · 6 comments
Closed

Vundle for a specific file-type #364

emnoor opened this issue Dec 7, 2013 · 6 comments
Labels

Comments

@emnoor
Copy link

emnoor commented Dec 7, 2013

I tried this in .vimrc:

autocmd FileType python Bundle 'ervandew/supertab'

and 'ervandew/supertab' also lists in 'BundleList` in a python file. It doesn't work. I don't know why. Maybe my autocmd command was wrong?

I suspect the assignments are going away. When I do just Bundle 'ervandew/supertab', I can see variables in vim. For example :let SuperTabMappingForward shows SuperTabMappingForward <tab>. But with autocmd, I get E121: Undefined variable: SuperTabMappingForward.

My vim knowledge in limited!

@Shougo
Copy link
Contributor

Shougo commented Dec 8, 2013

Vundle is not supported lazy load. So it is feature.

@wenerme
Copy link

wenerme commented Jan 13, 2014

But, is this possible, lazy load,load bundles at runtime ?

@starcraftman
Copy link
Contributor

@wenerme

If you are asking if any manager supports that, then yes. See https://github.com/Shougo/neobundle.vim.

At the moment Vundle doesn't do this, so we can close this issue (note for @gmarik). It is up to planning if we put this in.

@Shougo
Copy link
Contributor

Shougo commented Feb 10, 2014

If you want to use this feature, you should other plugin managers.
It is not simple/easy features. To implement it is very hard.

@MarcWeber
Copy link

try call vundle#installer#install_and_require('!', 'name') (command missing) which seems to work. VAM clearly separates install code from setup code which is no longer the case here. But I think the overhead is not worth discussing in the vundle case. Or use vundle emulation in VAM.

@jdevera
Copy link
Contributor

jdevera commented Apr 4, 2014

Closing as dup of #12
Please follow that other issue.

@jdevera jdevera closed this as completed Apr 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants