mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Add hovering limitations support for variants
This commit is contained in:
parent
e0e28ec856
commit
43576989a1
8 changed files with 138 additions and 48 deletions
|
@ -167,7 +167,7 @@ impl StaticIndex<'_> {
|
|||
keywords: true,
|
||||
format: crate::HoverDocFormat::Markdown,
|
||||
max_trait_assoc_items_count: None,
|
||||
max_struct_or_union_fields_count: Some(5),
|
||||
max_fields_count: Some(5),
|
||||
max_enum_variants_count: Some(5),
|
||||
};
|
||||
let tokens = tokens.filter(|token| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue