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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 56 additions and 0 deletions

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;