Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty rustfmt buffer stays open #281

Closed
glfmn opened this issue Oct 7, 2021 · 3 comments · Fixed by #282
Closed

Empty rustfmt buffer stays open #281

glfmn opened this issue Oct 7, 2021 · 3 comments · Fixed by #282

Comments

@glfmn
Copy link

glfmn commented Oct 7, 2021

I tend to work split-screen. When I have a syntax error on save, the *rustfmt* buffer pops up in one of my windows. When I fix the syntax error (such as an extra comma or missing semi-colon), the *rustfmt* buffer becomes empty and stays around, blocking the other buffer I was working with and taking a lot of screen real-estate until I kill it.

Is there a way for the buffer to automatically close when there are no errors left?

@brotzeit
Copy link
Owner

@glfmn can you confirm that it works ?

@glfmn
Copy link
Author

glfmn commented Oct 14, 2021

Thank you! I will check next chance I get.

@glfmn
Copy link
Author

glfmn commented Feb 6, 2022

Apologies for the delay, but I have confirmed that it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants