petertriho / cmp-git

Git source for nvim-cmp
MIT License
396 stars 23 forks source link

Feat/remote url #25

Closed ner0-m closed 3 years ago

ner0-m commented 3 years ago

I can't get any e.g. issues or PR's as it tries to fetch for the origin (which is my forked repo). With this change I can configure it, such that I can use upstream and see the issues and PRs

Not sure if the config field is optimal.

petertriho commented 3 years ago

Not sure about the best to handle this is as well, but this doesn't break anything, so I've just merged it

petertriho commented 3 years ago

What I think might work better is we eventually support multiple remotes. Probably need to wait for https://github.com/nvim-lua/plenary.nvim/pull/183 for a clean solution and it could solve https://github.com/petertriho/cmp-git/issues/3 as well