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

Request: Global variable config option for bundle path #2

Closed
nogweii opened this issue Nov 6, 2011 · 3 comments
Closed

Request: Global variable config option for bundle path #2

nogweii opened this issue Nov 6, 2011 · 3 comments

Comments

@nogweii
Copy link

nogweii commented Nov 6, 2011

Perhaps this is getting too much feature-creep-like, but some function one could call to include a different directory would be cool.

Use case: Generic plugins go under bundle/, but language specific ones that don't need to be loaded all the time could go under... ftbundle/lang/*/?

@sunaku
Copy link
Owner

sunaku commented Nov 6, 2011

Maybe there's a better way (via autocmd) but I imagine this would involve creating proxy files in ~/.vim/ftplugin/<lang>/<bundle>.vim which somehow load a bundle into Vim. Loading is tricky outside of unbundle's big loop because you'd have to insert the bundle's components in the correct places in the array.

Anyway this seems to require more than a few lines of code, and a function maybe, so it should go in a separate project: vim-unftbundle maybe.

@sunaku
Copy link
Owner

sunaku commented Nov 6, 2011

I've got something pretty close to working on my local system. Will push today once stable. 🍰

@sunaku sunaku closed this as completed Nov 6, 2011
@sunaku
Copy link
Owner

sunaku commented Nov 6, 2011

Yay! Your ftbundle/ idea is awesome @evaryont ✨ Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants