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:
@@ -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)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user