diff --git a/plugin/documents.py b/plugin/documents.py index 6e0125e8b..06e27d5e5 100644 --- a/plugin/documents.py +++ b/plugin/documents.py @@ -259,8 +259,8 @@ def diagnostics_intersecting_region_async( for sb, diagnostics in self._diagnostics_async(): intersections = [] # type: List[Diagnostic] for diagnostic, candidate in diagnostics: - # Checking against points is inclusive unlike checking whether region intersects another - # region which is exclusive (at region end) and we want an inclusive behavior in this case. + # Checking against points is inclusive unlike checking whether region intersects another region + # which is exclusive (at region end) and we want an inclusive behavior in this case. if region.contains(candidate.a) or region.contains(candidate.b): covering = covering.cover(candidate) intersections.append(diagnostic)