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

Random color instead of empty string for `label create` #561

Closed wd60622 closed 1 week ago

wd60622 commented 1 week ago

Describe what this PR does / why we need it

The PR allows user to leave a blank input for the label color and a random color will be generated like in :Octo label create ...

Does this pull request fix one issue?

Closes #560

Describe how you did it

Describe how to verify it

Special notes for reviews

Please let me know if I can add some type of test

pwntester commented 1 week ago

Thanks! Can you please fix the linting issues?

wd60622 commented 1 week ago

Done! Thanks for the pointer. Might be good to have in pre-commit hook. Have you considered that?

pwntester commented 1 week ago

Thanks! Good point. Will try to add a precommit config when time permits