@@ -38,6 +38,8 @@ pub struct Theme {
3838 pub color_action_exec : Color ,
3939 /// The color for the fixup action.
4040 pub color_action_fixup : Color ,
41+ /// The color for the fixup action.
42+ pub color_action_index : Color ,
4143 /// The color for the pick action.
4244 pub color_action_pick : Color ,
4345 /// The color for the reword action.
@@ -94,6 +96,7 @@ impl Theme {
9496 color_action_edit : get_color ( git_config, "interactive-rebase-tool.editColor" , Color :: LightBlue ) ?,
9597 color_action_exec : get_color ( git_config, "interactive-rebase-tool.execColor" , Color :: LightWhite ) ?,
9698 color_action_fixup : get_color ( git_config, "interactive-rebase-tool.fixupColor" , Color :: LightMagenta ) ?,
99+ color_action_index : get_color ( git_config, "interactive-rebase-tool.indexColor" , Color :: DarkGreen ) ?,
97100 color_action_pick : get_color ( git_config, "interactive-rebase-tool.pickColor" , Color :: LightGreen ) ?,
98101 color_action_reword : get_color ( git_config, "interactive-rebase-tool.rewordColor" , Color :: LightYellow ) ?,
99102 color_action_squash : get_color ( git_config, "interactive-rebase-tool.squashColor" , Color :: LightCyan ) ?,
@@ -219,6 +222,7 @@ mod tests {
219222 config_test ! ( color_action_edit, "editColor" , Color :: LightBlue ) ;
220223 config_test ! ( color_action_exec, "execColor" , Color :: LightWhite ) ;
221224 config_test ! ( color_action_fixup, "fixupColor" , Color :: LightMagenta ) ;
225+ config_test ! ( color_action_index, "indexColor" , Color :: DarkGreen ) ;
222226 config_test ! ( color_action_pick, "pickColor" , Color :: LightGreen ) ;
223227 config_test ! ( color_action_reword, "rewordColor" , Color :: LightYellow ) ;
224228 config_test ! ( color_action_squash, "squashColor" , Color :: LightCyan ) ;
0 commit comments