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

fix: Allow function type for `gh_env` #550

Closed mrjones2014 closed 3 weeks ago

mrjones2014 commented 1 month ago

Describe what this PR does / why we need it

Allows function type for gh_env

Does this pull request fix one issue?

Fixes #549

Describe how you did it

Update the validator. The rest was already in place and unchanged.

Describe how to verify it

Use a function for gh_env that returns a table and ensure the plugin still works

Special notes for reviews

mrjones2014 commented 3 weeks ago

Hi @pwntester any chance you could take a look at this? My workflow is currently broken because of this.

pwntester commented 3 weeks ago

@mrjones2014 sorry for the late review and thanks for the contribution!