- 
        Couldn't load subscription status. 
- Fork 1.5k
Closed
Labels
Description
Related to #2922, it would be nice to handle markdown data from LSP responses for features like hover information, so the relevant languages can be loaded for syntax highlighting, and certain markdown format markers or whatever LSP sends can be turned into Vim highlights.
Here's an example from a project I work on, with output taken from pyright:
Ideally that can be rendered in a popup or preview window like this:
DEFAULTS: dict[str, Literal[False]]I'd like to write a function that accepts markup data and returns [clean_string, highlights], where highlights is a List of highlights to render using Vim/NeoVim highlight functions.