vim-github-link
vim-github-link copied to clipboard
Remove trailing slash to avoid double slashes
I had my remote set to:
https://company.example/some-org/some-repo/
Which is valid, but caused the generated links to have double slashes where my slash suffix is, which GitLab didn't like, and showed an empty page instead of the file.
Changing my remote to:
https://company.example/some-org/some-repo
fixed the issue, but I think it would be better if the plugin handled this case.