diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-06 18:51:20 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-06 18:51:20 +0100 |
commit | 57735f2a32138d552c51c4b2de04bcd56650db15 (patch) | |
tree | 398602dd3569036af9fe2253d2911fd59c5dc3ce /crates/ide/src/syntax_highlighting.rs | |
parent | 63fa61795ae00a0f157c2b0034a31ebabb3e7cff (diff) | |
parent | bd7bf4a276c5d49dd18f2df46694a66c4401a65e (diff) |
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 <[email protected]>
Diffstat (limited to 'crates/ide/src/syntax_highlighting.rs')
0 files changed, 0 insertions, 0 deletions