-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hover UI: Eagerly convert hover response to Markdown
This simplifies the hover component by eagerly converting all `lsp::Hover` responses into `Markdown`s. Previously we cached the current `Markdown` and created a new `Markdown` when switching the active response. Instead we can consume the `lsp::Hover` and avoid some clones of its inner types.
- Loading branch information
1 parent
6edff24
commit 8439ce5
Showing
1 changed file
with
37 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters