Skip to content

Needs better handling of remote SSH URL #3

@gunturaf

Description

@gunturaf

Thanks for the awesome work!

I tried in my local nvim and it works nicely,
however I think it still erred when handling remote SSH URL like the following:

$ git remote get-url origin
git@gitlab.com:group/somegroup/subgroup/some-project.git

What I got when :YankLineURL + was:

https://gitlab.com:group/somegroup/subgroup/some-project/-/blob/master/main.go#L22

The expected result is:

https://gitlab.com/group/somegroup/subgroup/some-project/-/blob/master/main.go#L22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions