pwntester / octo.nvim

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

Fix wrong argument in load buffer function #435

Closed kezhenxu94 closed 8 months ago

kezhenxu94 commented 8 months ago

Describe what this PR does / why we need it

the function M.load_buffer accepts the buffer number but the reload function passes in several arguments, causing the Octo pr reload always to fail

https://github.com/pwntester/octo.nvim/blob/bd53dee3ab1bf13882e3e5013f355d802b0a76ad/lua/octo/init.lua#L64

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

kezhenxu94 commented 8 months ago

Have to reformat the file just to make the linter happy

pwntester commented 8 months ago

Good catch! thanks for the contribution!