Make language registry optional in parse_markdown (#23221)
Motivation for this is using markdown for keymap error notifications in #23113 Release Notes: - N/A
This commit is contained in:
parent
0dbe34d2ae
commit
55e1e831a1
5 changed files with 14 additions and 10 deletions
|
|
@ -256,7 +256,7 @@ pub async fn prepare_completion_documentation(
|
|||
}
|
||||
|
||||
lsp::MarkupKind::Markdown => {
|
||||
let parsed = parse_markdown(value, language_registry, language).await;
|
||||
let parsed = parse_markdown(value, Some(language_registry), language).await;
|
||||
Documentation::MultiLineMarkdown(parsed)
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue