rust-analyzer/crates
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
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Move ModPath->ast::Path function to IDE layer 2020-10-06 16:19:18 +02:00
base_db Properly name the field 2020-10-02 21:38:22 +03:00
cfg Add description for crates that will be published 2020-08-24 13:07:22 +02:00
flycheck Spawn a flycheck instance per workspace 2020-09-27 19:41:54 +02:00
hir Move ModPath->ast::Path function to IDE layer 2020-10-06 16:19:18 +02:00
hir_def Add test makr 2020-10-06 19:20:56 +02:00
hir_expand Merge #6033 2020-09-28 11:03:47 +00:00
hir_ty Fix trait object hir formatting behind pointer and references 2020-10-06 14:40:27 +02:00
ide Merge #6140 2020-10-06 17:51:20 +00:00
ide_db Move ide::AnalysisChange -> base_db::Change 2020-10-02 16:45:08 +02:00
mbe Bump smol_str from 0.1.16 to 0.1.17 2020-09-24 16:39:08 +02:00
parser Rename record_field_pat to record_pat_field 2020-09-10 18:56:04 +02:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_srv Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Add description for crates that will be published 2020-08-24 13:07:22 +02:00
project_model Fix the hover dash issues 2020-10-02 21:16:22 +03:00
rust-analyzer Merge #6140 2020-10-06 17:51:20 +00:00
ssr Minor clippy performance suggestions 2020-09-30 15:22:49 -04:00
stdx Add panic_context module for better panic messages 2020-09-29 20:20:47 +02:00
syntax Merge #6104 2020-10-02 08:07:42 +00:00
test_utils Add description for crates that will be published 2020-08-24 13:07:22 +02:00
text_edit Actually assert disjointness 2020-09-03 13:37:36 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Add description for crates that will be published 2020-08-24 13:07:22 +02:00
vfs Rename the method to avoid false promises 2020-09-10 01:45:49 +03:00
vfs-notify Add description for crates that will be published 2020-08-24 13:07:22 +02:00