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

Clear diagnostics when there are no more results #175

Merged

Conversation

fabiomcosta
Copy link
Contributor

Improvement over #173
I noticed that the diagnostics weren't cleared when going from 1 diagnostic result to 0, and that's because after_each is not being called when there are no diagnostics.
This fixes that by calling it in that scenario.

@mochaaP mochaaP merged commit 958a2cd into nvimtools:main Aug 24, 2024
4 checks passed
@fabiomcosta fabiomcosta deleted the generator_async_iterator_clear_results branch August 24, 2024 15:39
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 this pull request may close these issues.

2 participants