feat(workspace): show git status on editor tabs

This commit is contained in:
Alex Viscreanu 2023-07-17 18:48:57 +02:00
parent 10a1df3faa
commit 6793d4b6b8
No known key found for this signature in database
6 changed files with 74 additions and 7 deletions

View file

@ -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,