and it shows "Could not detect repos user" to me. I personally use the first format and one of the tools I use uses the second format, so I want open-browser-github.vim to allow these as well.
Solution
I added ssh2_re and ssh3_re for these. I tried to use \%( and \) to simplify the implementation, but somehow ssh ended up captured as m[1] when I tried it. So I added them separately.
Problem
If you have an ssh config like:
you can use some URLs which are currently not handled by open-browser-github.vim, such as:
and it shows "Could not detect repos user" to me. I personally use the first format and one of the tools I use uses the second format, so I want open-browser-github.vim to allow these as well.
Solution
I added
ssh2_re
andssh3_re
for these. I tried to use\%(
and\)
to simplify the implementation, but somehowssh
ended up captured asm[1]
when I tried it. So I added them separately.