add config item for hover display

This commit is contained in:
Young-Flash 2024-02-18 17:43:22 +08:00
parent 00358b1fe0
commit 35ec5955eb
10 changed files with 34 additions and 7 deletions

View file

@ -32,6 +32,7 @@ pub struct HoverConfig {
pub documentation: bool,
pub keywords: bool,
pub format: HoverDocFormat,
pub trait_item_display_on_hover: Option<usize>,
}
#[derive(Copy, Clone, Debug, PartialEq, Eq)]