feat(workspace): show git status on editor tabs
This commit is contained in:
parent
10a1df3faa
commit
6793d4b6b8
6 changed files with 74 additions and 7 deletions
|
@ -350,6 +350,7 @@ pub struct Tab {
|
|||
pub icon_close_active: Color,
|
||||
pub icon_dirty: Color,
|
||||
pub icon_conflict: Color,
|
||||
pub git: GitProjectStatus,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default, JsonSchema)]
|
||||
|
@ -722,12 +723,12 @@ pub struct Scrollbar {
|
|||
pub thumb: ContainerStyle,
|
||||
pub width: f32,
|
||||
pub min_height_factor: f32,
|
||||
pub git: GitDiffColors,
|
||||
pub git: FileGitDiffColors,
|
||||
pub selections: Color,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default, JsonSchema)]
|
||||
pub struct GitDiffColors {
|
||||
pub struct FileGitDiffColors {
|
||||
pub inserted: Color,
|
||||
pub modified: Color,
|
||||
pub deleted: Color,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue