Fix clang popovers (#20090)
Closes #15498 Release Notes: - Fixed info popups from clangd missing information
This commit is contained in:
parent
770886880f
commit
4084ba36f9
2 changed files with 56 additions and 0 deletions
|
@ -7,6 +7,7 @@ use std::ops::Range;
|
|||
pub fn parse_markdown(text: &str) -> Vec<(Range<usize>, MarkdownEvent)> {
|
||||
let mut options = Options::all();
|
||||
options.remove(pulldown_cmark::Options::ENABLE_DEFINITION_LIST);
|
||||
options.remove(pulldown_cmark::Options::ENABLE_YAML_STYLE_METADATA_BLOCKS);
|
||||
|
||||
let mut events = Vec::new();
|
||||
let mut within_link = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue