sunaku / vim-unbundle

🎁 Fast, filetype-lazy loader of Vim scripts & plugins
http://www.vim.org/scripts/script.php?script_id=4744
96 stars 6 forks source link

~/.vim/ftbundle/{filetype}/*/plugin/*.vim did not load when Vim startup #8

Closed heavenshell closed 11 years ago

heavenshell commented 11 years ago

Hi,

I've got a problem. When I start Vim, Unbundle.vim did not load ~/.vim/ftbundle/{filetype}/*/plugin/*.vim.

Step to reproduce.

  1. Install jedi.vim in ~/.vim/ftbundle/python/ $ git clone https://github.com/davidhalter/jedi-vim.git $ git submodule update --init
  2. Start Vim $ vim sample.py
  3. Error raised
Error detected while processing /home/heavenshell/.vim/ftbundle/python/jedi-vim/ft
plugin/python/jedi.vim:
line   10:
E121: Undefined variable: g:jedi#auto_initialization
E15: Invalid expression: g:jedi#auto_initialization
line   34:
E121: Undefined variable: g:jedi#auto_vim_configuration
E15: Invalid expression: g:jedi#auto_vim_configuration
line   41:
E121: Undefined variable: g:jedi#popup_on_dot
E15: Invalid expression: g:jedi#popup_on_dot
line   54:
E121: Undefined variable: g:jedi#auto_close_doc
E15: Invalid expression: g:jedi#auto_close_doc

This commit works fine. c854f6a3d6d00fd57ba5ad120800d64439b608ee But, recent commit did not work.

Regard,

heavenshell commented 11 years ago

Oops, sorry I closed...

sunaku commented 11 years ago

Thanks for reporting this. I was able to reproduce the issue here. :neckbeard:

sunaku commented 11 years ago

Fixed in c3940ed06cc4a80a93790c550b5e7ab8f1ddf8fa. Please verify.

heavenshell commented 11 years ago

Thank you for quick fix!! Great, it works fine!

Regards,