Skip to content

Commit

Permalink
Fix typo causing removed lines not to show highlighted
Browse files Browse the repository at this point in the history
  • Loading branch information
w4 committed Sep 26, 2024
1 parent b133174 commit a524eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ impl<'a> Callback for SyntaxHighlightedDiffFormatter<'a> {
}

fn remove(&mut self, data: &str, dst: &mut String) {
self.write(dst, "remote-line", data);
self.write(dst, "remove-line", data);
}

fn context(&mut self, data: &str, dst: &mut String) {
Expand Down

0 comments on commit a524eca

Please sign in to comment.