Skip to content

Commit a524eca

Browse files
committed
Fix typo causing removed lines not to show highlighted
1 parent b133174 commit a524eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ impl<'a> Callback for SyntaxHighlightedDiffFormatter<'a> {
12591259
}
12601260

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

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

0 commit comments

Comments
 (0)