-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sourcehut links broken - missing user/namespace #36
Comments
Thanks for the detailed issue report. I found the cause: gitlinker.nvim/lua/gitlinker/git.lua Lines 147 to 150 in 003ee48
it's missing |
Just wanted to confirm it's fixed on my end, many thanks! |
samhh
added a commit
to samhh/dotfiles
that referenced
this issue
Nov 29, 2021
This fixes a bug in gitlinker with Sourcehut: ruifm/gitlinker.nvim#36
stevanmilic
pushed a commit
to stevanmilic/gitlinker.nvim
that referenced
this issue
Nov 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generated Sourcehut links are broken. GitHub is fine. Unmodified
callbacks
config. Happens with all my repos, example: https://git.sr.ht/~samhh/banginThe output is:
https://git.sr.ht/bangin/tree/a99b870dfe56d6b79988d98bf71d5a0b7f6cd4e1/item/bangin.sh#L6
But should be:
https://git.sr.ht/~samhh/bangin/tree/a99b870dfe56d6b79988d98bf71d5a0b7f6cd4e1/item/bangin.sh#L6
Note the additional
/~samhh
. I'm not sure how the repo remote is calculated but it should be parseable:The text was updated successfully, but these errors were encountered: