We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2cd85 commit 75b59d2Copy full SHA for 75b59d2
plugin/documents.py
@@ -286,7 +286,9 @@ def on_diagnostics_updated_async(self) -> None:
286
if userprefs().show_code_actions:
287
self._do_code_actions()
288
self._update_diagnostic_in_status_bar_async()
289
- if self.view.change_count() == self._change_count_on_last_save:
+ window = self.view.window()
290
+ is_active_view = window and window.active_view() == self.view
291
+ if is_active_view and self.view.change_count() == self._change_count_on_last_save:
292
self._toggle_diagnostics_panel_if_needed_async()
293
294
def _update_diagnostic_in_status_bar_async(self) -> None:
0 commit comments