vim-plug icon indicating copy to clipboard operation
vim-plug copied to clipboard

Incorrect hostname parsing

Open ironhouzi opened this issue 4 years ago • 0 comments

PlugUpdate fails with the following message:

x myultisnippets:
    Invalid URI: [email protected]:ironhouzi/myultisnippets.git
    Expected:    [email protected]:ironhouzi/myultisnippets.git
    PlugClean required.

The hostname gitlab.com-me is an entry in .ssh/config, which resolves to gitlab.com using the correct keypair. This is done because I am using two Gitlab accounts on the same machine, and want to define which account is being used for each git repo.

The problem seems to stem from a strict parsing method, that doesn't like the dash (-) in the TLD.


Sorry, I don't have access to my work machine right now, will fill in :version as soon as I can.


  • Type:
    • [x] Bug
    • [ ] Enhancement
    • [ ] Feature Request
    • [ ] Question
  • OS:
    • [ ] All/Other
    • [x] Linux
    • [ ] OS X
    • [ ] Windows
  • Vim:
    • [ ] Terminal Vim
    • [ ] GVim
    • [x] Neovim

ironhouzi avatar Dec 04 '19 07:12 ironhouzi