mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
fix: add a separate setting for enum variants
This commit is contained in:
parent
6bb85985d7
commit
e0e28ec856
8 changed files with 183 additions and 52 deletions
|
@ -33,7 +33,8 @@ pub struct HoverConfig {
|
|||
pub keywords: bool,
|
||||
pub format: HoverDocFormat,
|
||||
pub max_trait_assoc_items_count: Option<usize>,
|
||||
pub max_adt_fields_or_variants_count: Option<usize>,
|
||||
pub max_struct_or_union_fields_count: Option<usize>,
|
||||
pub max_enum_variants_count: Option<usize>,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue