Commits

ZyX_I committed 0762e03

Fixed bitbucket git support (still untested)

Comments (0)

Files changed (1)

plugin/aurum/drivers/mercurial.vim

 unlet s:dport
 let s:hypsites=[
 \['domain is? "bitbucket.org" && protocol[:2] is? "git"',
-\ map(copy(s:bbdict), 'substitute(v:val, "\\Vcs.hex", s:gb, "")')],
+\ map(copy(s:bbdict), '(v:key is# "push" || v:key is# "clone")? '.
+\                           '("\"git+".v:val[1:]):'.
+\                           '(substitute(v:val, "\\Vcs.hex", s:gb, ""))')],
 \['domain is? "bitbucket.org"', s:bbdict],
 \['domain is? "github.com"',
 \ {     'html': '"https://".domain."/".'.s:ghpath.'."/blob/".'.s:gb.'."/".file',   'hline': '"L".line',