rust/crates/rust-analyzer
bors[bot] 57735f2a32
Merge #6140
6140: honour hover.content_format client capability r=lnicola a=robinvd

This removes all markdown when the client does not support the markdown MarkupKind.

Otherwise the output on the editor will have some markdown boilerplate, making it less readable.

For example kak_lsp does not currently support markdown.
![image](https://user-images.githubusercontent.com/22073483/95112949-ef0ff080-0741-11eb-82a7-0594fa2cd736.png)

after:
![image](https://user-images.githubusercontent.com/22073483/95113089-2bdbe780-0742-11eb-94fa-bcfec6d7347a.png)



Co-authored-by: Robin van Dijk <robin@robinjint.nl>
2020-10-06 17:51:20 +00:00
..
src Merge #6140 2020-10-06 17:51:20 +00:00
tests/rust-analyzer Fix failing test 2020-10-02 12:35:25 +03:00
build.rs Fix fmt 2020-06-19 02:25:07 +08:00
Cargo.toml lsp-types 0.82 2020-09-23 15:41:55 -04:00