gitlinker.nvim icon indicating copy to clipboard operation
gitlinker.nvim copied to clipboard

fix: actually allow overriding remotes

Open kylo252 opened this issue 3 years ago • 0 comments

Description

ability to override the current branch's remote, which is useful for getting permalinks that use "origin", and not the temporary fork.

How to test

compare the results of these two functions before and after

require('gitlinker').get_buf_range_url('n', {remote = "origin"})
require('gitlinker').get_buf_range_url('n', {remote = "fork"})

kylo252 avatar Jun 28 '22 10:06 kylo252