Shougo/neobundle.vim — pull request #55 by atiking (2013-01-30 11:58:29+00:00)
Title: Specify 'type' doesn't work when install bundle from a git repository

We have an internal git repository in our company. And the repo path doesn't suffixed by '.git'.
My bundles.vim is as below

NeoBundle 'user@git-host:/the/path/of/repo', { 'type' : 'git' }

But the installation failed.

I have digged around. It seems when install a new bundle, the option 'type' doesn't actually help to generate the bundle.uri. The bundle.uri always detect from the repo path. And in autoload/neobunde/types/git.vim, the detecting regex only supports the repo path with the suffix '.git'. So my repo is not detected, and the bundle.uri is empty.

I am a newbee at vim script. So I don't know if my patch is perfect.