mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
organize settings
This commit is contained in:
parent
13ae1249f5
commit
0e068a644f
1 changed files with 10 additions and 6 deletions
|
@ -12,18 +12,22 @@ pub enum ProjectPanelDockPosition {
|
|||
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub struct ProjectPanelSettings {
|
||||
pub git_status: bool,
|
||||
pub file_icons: bool,
|
||||
pub dock: ProjectPanelDockPosition,
|
||||
pub default_width: f32,
|
||||
pub dock: ProjectPanelDockPosition,
|
||||
pub file_icons: bool,
|
||||
pub folder_icons: bool,
|
||||
pub git_status: bool,
|
||||
pub indent_size: f32,
|
||||
}
|
||||
|
||||
#[derive(Clone, Default, Serialize, Deserialize, JsonSchema, Debug)]
|
||||
pub struct ProjectPanelSettingsContent {
|
||||
pub git_status: Option<bool>,
|
||||
pub file_icons: Option<bool>,
|
||||
pub dock: Option<ProjectPanelDockPosition>,
|
||||
pub default_width: Option<f32>,
|
||||
pub dock: Option<ProjectPanelDockPosition>,
|
||||
pub file_icons: Option<bool>,
|
||||
pub folder_icons: Option<bool>,
|
||||
pub git_status: Option<bool>,
|
||||
pub indent_size: Option<f32>,
|
||||
}
|
||||
|
||||
impl Setting for ProjectPanelSettings {
|
||||
|
|
Loading…
Reference in a new issue