limit struct field hover display nums

This commit is contained in:
Young-Flash 2024-03-21 17:58:29 +08:00
parent d81148a009
commit 1c85234bcd
4 changed files with 28 additions and 12 deletions

View file

@ -167,6 +167,7 @@ impl StaticIndex<'_> {
keywords: true,
format: crate::HoverDocFormat::Markdown,
max_trait_assoc_items_count: None,
max_struct_field_count: None,
};
let tokens = tokens.filter(|token| {
matches!(