diff options
author | Dan Davison <dandavison7@gmail.com> | 2021-12-06 22:34:53 -0500 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2021-12-09 20:46:28 -0500 |
commit | da083bba2a093ea2ff4558e59c48bd6672b75480 (patch) | |
tree | 4786e27be11b088059cebf842661b8e478a4fd47 /src/subcommands | |
parent | 9554f47ce9e79051ad7a3a9dfbdab7579003469d (diff) |
Store raw_line in HunkZero, as HunkMinus and HunkPlus
ref #829
Diffstat (limited to 'src/subcommands')
-rw-r--r-- | src/subcommands/show_colors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subcommands/show_colors.rs b/src/subcommands/show_colors.rs index b51dd8a0..1c939700 100644 --- a/src/subcommands/show_colors.rs +++ b/src/subcommands/show_colors.rs @@ -45,7 +45,7 @@ pub fn show_colors() -> std::io::Result<()> { painter.syntax_highlight_and_paint_line( line, paint::StyleSectionSpecifier::Style(style), - delta::State::HunkZero(DiffType::Unified), + delta::State::HunkZero(DiffType::Unified, None), BgShouldFill::default(), ) } @@ -64,7 +64,7 @@ pub fn show_colors() -> std::io::Result<()> { painter.syntax_highlight_and_paint_line( line, paint::StyleSectionSpecifier::Style(style), - delta::State::HunkZero(DiffType::Unified), + delta::State::HunkZero(DiffType::Unified, None), BgShouldFill::default(), ) } |