[gnome-builder] lsp: Set content format to markdown for hover in client
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] lsp: Set content format to markdown for hover in client
- Date: Tue, 20 Jul 2021 19:55:35 +0000 (UTC)
commit 87a268459a1097bf5d4bb00b41a277c4bc5611b5
Author: vanadiae <vanadiae35 gmail com>
Date: Tue Jul 20 20:13:32 2021 +0200
lsp: Set content format to markdown for hover in client
This makes rust-analyzer output real markdown with proper newlines.
src/libide/lsp/ide-lsp-client.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/libide/lsp/ide-lsp-client.c b/src/libide/lsp/ide-lsp-client.c
index bdd1c6a5f..0e72fe720 100644
--- a/src/libide/lsp/ide-lsp-client.c
+++ b/src/libide/lsp/ide-lsp-client.c
@@ -1672,6 +1672,12 @@ ide_lsp_client_start (IdeLspClient *self)
"]",
"}",
"}",
+ "hover", "{",
+ "contentFormat", "[",
+ "markdown",
+ "plaintext",
+ "]",
+ "}",
"publishDiagnostics", "{",
"tagSupport", "{",
"valueSet", "[",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]