Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Fixed markdown in datatips #212

Merged
merged 1 commit into from
Mar 18, 2022
Merged

Fixed markdown in datatips #212

merged 1 commit into from
Mar 18, 2022

Conversation

autumnull
Copy link
Contributor

The datatips shown on hover were just showing malformed plaintext documentation rather than rendered markdown. This should fix it.

@aminya
Copy link
Contributor

aminya commented Mar 17, 2022

Could you post a screenshot?

@autumnull
Copy link
Contributor Author

Before code changes:

After code changes:

This issue appeared a couple of months back and is rooted in the fact that rust-analyzer requires you to let it know that you support markdown documentation or else it will give you plaintext documentation. I have tested this with a few of the latest versions of rust-analyzer from different sources but this particular screenshot is with

$ rust-analyzer --version
rust-analyzer 2022-03-07

@aminya aminya merged commit 3a70703 into rust-lang:master Mar 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants