diff --git a/plugin/documents.py b/plugin/documents.py index 3f2a43c36..3fd68ca23 100644 --- a/plugin/documents.py +++ b/plugin/documents.py @@ -485,7 +485,7 @@ def _on_hover_gutter_async(self, point: int) -> None: max_severity_level = min(userprefs().show_diagnostics_severity_level, DiagnosticSeverity.Information) for sb, diagnostics in self.diagnostics_intersecting_async(self.view.line(point))[0]: diagnostics_with_config.extend((sb.session.config, diagnostic) for diagnostic in diagnostics - if diagnostic_severity(diagnostic) <= max_severity_level) + if diagnostic_severity(diagnostic) <= max_severity_level) if diagnostics_with_config: diagnostics_with_config.sort(key=lambda d: diagnostic_severity(d[1])) content += '
'