Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

lsp: Advertise support for markdown in completion documentation (#35727)

xdBroncha80da784b7cb
diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs
index 3f45d2e6fc0..a92787cd3e7 100644
--- a/crates/lsp/src/lsp.rs
+++ b/crates/lsp/src/lsp.rs
@@ -747,6 +747,10 @@ impl LanguageServer {
InsertTextMode::ADJUST_INDENTATION,
],
}),
+ documentation_format: Some(vec![
+ MarkupKind::Markdown,
+ MarkupKind::PlainText,
+ ]),
..Default::default()
}),
insert_text_mode: Some(InsertTextMode::ADJUST_INDENTATION),