ruanyl / vim-gh-line

vim plugin that open the link of current line on github
MIT License
409 stars 37 forks source link

Add blame url depending on mapping used. #9

Closed sebastian-palma closed 6 years ago

sebastian-palma commented 6 years ago

It adds a new call to the gh_line function, but passing an argument, depending the action (blame, blob) to do.

We could move all main variables outside the function to its own one, and get rid of arguments on calling them, maybe.

ruanyl commented 6 years ago

@vnhnhm thanks! The changes look good to me, tested with Github & Bitbucket, both are working fine.