@@ -6,8 +6,8 @@ use gpui::{
actions,
anyhow::{anyhow, Result},
elements::{
- AnchorCorner, ChildView, ContainerStyle, Empty, Flex, MouseEventHandler,
- ParentElement, ScrollTarget, Stack, Svg, UniformList, UniformListState, Label,
+ AnchorCorner, ChildView, ContainerStyle, Empty, Flex, Label, MouseEventHandler,
+ ParentElement, ScrollTarget, Stack, Svg, UniformList, UniformListState,
},
geometry::vector::Vector2F,
keymap_matcher::KeymapContext,
@@ -447,19 +447,19 @@ pub struct ProjectPanelEntry {
pub icon_size: f32,
pub icon_spacing: f32,
pub status: EntryStatus,
- }
-
- #[derive(Clone, Debug, Deserialize, Default)]
- pub struct EntryStatus {
- pub git: GitProjectStatus,
- }
-
- #[derive(Clone, Debug, Deserialize, Default)]
- pub struct GitProjectStatus {
- pub modified: Color,
- pub inserted: Color,
- pub conflict: Color,
- }
+}
+
+#[derive(Clone, Debug, Deserialize, Default)]
+pub struct EntryStatus {
+ pub git: GitProjectStatus,
+}
+
+#[derive(Clone, Debug, Deserialize, Default)]
+pub struct GitProjectStatus {
+ pub modified: Color,
+ pub inserted: Color,
+ pub conflict: Color,
+}
#[derive(Clone, Debug, Deserialize, Default)]
pub struct ContextMenu {