Commit Graph

7 Commits (6b67ca79e76cc6cb865e01824369f6b3ea0823fc)

Author SHA1 Message Date
Nikita Revenco 6b67ca79e7 fix: add some newlines 2025-02-01 15:31:51 +00:00
Nikita Revenco b3f5b86757 fix: resolve conflicts 2025-02-01 15:27:55 +00:00
Nikita Revenco 78a65ad19f fix: correct language server number in preview string 2025-02-01 15:23:48 +00:00
Nikita Revenco eecb123487 fix: resolve merge conflicts 2025-02-01 15:22:43 +00:00
Michael Davis 8439ce5683
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.
2025-01-31 17:34:56 -05:00
Michael Davis 2367b20318
Remove popup_border calculations from LSP Hover UI component
The Hover component is used as the inner contents of a Popup. The Popup
should be doing calculations based on whether popup_borders is
configured and not Hover. This fixes an issue with hover rendering when
the popup border option is enabled for popups.

Fixes #12742
2025-01-31 12:01:33 -05:00
kyfanc 9829ac0c02
Cycle through hover results from multiple language servers (#10122)
Co-authored-by: Vladyslav Karasov <36513243+cotneit@users.noreply.github.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-01-26 11:24:50 -06:00