Open kjeremy opened 4 years ago
If HoverClientCapabilities.contentFormat or CompletionClientCapabilities.completionItem.documentationFormat or SignatureHelpClientCapabilities.signatureInformation.documentationFormat are absent then we need to return:
HoverClientCapabilities.contentFormat
CompletionClientCapabilities.completionItem.documentationFormat
SignatureHelpClientCapabilities.signatureInformation.documentationFormat
MarkedString
string
See: https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_hover
This is part of #144
User report in the wild: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/MarkupKind/near/201324222
If
HoverClientCapabilities.contentFormat
orCompletionClientCapabilities.completionItem.documentationFormat
orSignatureHelpClientCapabilities.signatureInformation.documentationFormat
are absent then we need to return:MarkedString
string
string
See: https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_hover