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

unusual plugin names give error #4

Closed punassuming closed 12 years ago

punassuming commented 12 years ago

I don't know how common this is but Hammer.vim https://github.com/robgleeson/hammer.vim, uses a directory called hammer.vim, and then places the vim files inside of it. This results in a file missing error in unbundle. I just changed the source command in ftbundle to this:

  execute 'silent! source' fnameescape(l:plugin)
sunaku commented 12 years ago

@robgleeson would you mind renaming your plugin/hammer.vim/ directory to not have .vim in its name?

ghost commented 12 years ago

Why can you not solve this within your own code?

sunaku commented 12 years ago

Fair enough. Thanks anyway.