ldelossa / gh.nvim

A fully featured GitHub integration for performing code reviews in Neovim.
MIT License
520 stars 24 forks source link

Close all tmp buffers when closing prs #93

Closed GuillaumeLagrange closed 7 months ago

GuillaumeLagrange commented 9 months ago

Hello !

Thanks for this awesome plugin I love it !

Do you think you would be interested in a feature to close all tmp buffers when closing a PR ? Currently my nvim is polluted with a lot of diff leftovers tmp buffers after calling GHClosePR.

This is a bit annoying since I rely on sessions, and these tmp buffers remain in my session until I either reset the session or I manually remove them.

I can look into it I just wanted to see if making a clean PR is worth it for you :heart:

ldelossa commented 9 months ago

Yup I'll accept a pr for this.