pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.24k stars 124 forks source link

Allowing configuration of `gh` binary path #499

Closed samjwillis97 closed 4 months ago

samjwillis97 commented 4 months ago

Describe what this PR does / why we need it

This allows defining the path of the gh binary

Describe how you did it

Following the convention set out by other configurable values I simply added in gh_cmd with a default of "gh". For all uses of command = "gh" I changed it to command = config.values.gh_cmd

Describe how to verify it

Setting the gh_cmd value in setup to the path of a working Github CLI binary

Special notes for reviews

If this isn't something you are interested in including that is all good. I made the changes so I could use this plugin with my neovim configuration and thought it may come in handy to others as well 😄

pwntester commented 4 months ago

Thanks!