diff --git a/plugin/hover.py b/plugin/hover.py index 1837b1beb..2a3528750 100644 --- a/plugin/hover.py +++ b/plugin/hover.py @@ -313,9 +313,8 @@ def _show_hover(self, listener: AbstractViewListener, point: int, only_diagnosti location=point, on_navigate=lambda href: self._on_navigate(href, point), on_hide=lambda: self.view.erase_regions(HOVER_HIGHLIGHT_KEY)) - - self._image_resolver = mdpopups.resolve_images( - contents, mdpopups.worker_thread_resolver, partial(self._on_images_resolved, contents)) + self._image_resolver = mdpopups.resolve_images( + contents, mdpopups.worker_thread_resolver, partial(self._on_images_resolved, contents)) def _on_images_resolved(self, original_contents: str, contents: str) -> None: self._image_resolver = None