gpui_base/list_settings.rs
1use schemars::JsonSchema;
2use serde::{Deserialize, Serialize};
3
4/// Global settings for list presentation behavior.
5#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
6pub struct ListSettings {
7 /// Whether list items use the active highlight style by default.
8 pub active_highlight: bool,
9}
10
11impl Default for ListSettings {
12 fn default() -> Self {
13 Self {
14 active_highlight: true,
15 }
16 }
17}