Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jwortmann committed Oct 18, 2023
1 parent a69dfcc commit eb9f1da
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugin/hover.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb9f1da

Please sign in to comment.