We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58ca97e commit 83f3faaCopy full SHA for 83f3faa
plugin/documents.py
@@ -485,7 +485,7 @@ def _on_hover_gutter_async(self, point: int) -> None:
485
max_severity_level = min(userprefs().show_diagnostics_severity_level, DiagnosticSeverity.Information)
486
for sb, diagnostics in self.diagnostics_intersecting_async(self.view.line(point))[0]:
487
diagnostics_with_config.extend((sb.session.config, diagnostic) for diagnostic in diagnostics
488
- if diagnostic_severity(diagnostic) <= max_severity_level)
+ if diagnostic_severity(diagnostic) <= max_severity_level)
489
if diagnostics_with_config:
490
diagnostics_with_config.sort(key=lambda d: diagnostic_severity(d[1]))
491
content += '<div class="diagnostics">'
0 commit comments