vim-github-link icon indicating copy to clipboard operation
vim-github-link copied to clipboard

Remove trailing slash to avoid double slashes

Open omertuc opened this issue 5 months ago • 1 comments

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.

omertuc avatar Aug 25 '25 14:08 omertuc