Fix clang popovers (#20090)

Closes  #15498

Release Notes:

- Fixed info popups from clangd missing information
This commit is contained in:
Conrad Irwin
2024-11-01 13:28:34 -06:00
committed by GitHub
parent 770886880f
commit 4084ba36f9
2 changed files with 56 additions and 0 deletions
+1
View File
@@ -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;