Skip to content

Commit

Permalink
Handle more conflict layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Oct 19, 2024
1 parent 8579ced commit 1355279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conflicts_highlighter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl LinesHighlighter for ConflictsHighlighter {

let prefixes = if self.c1_header.starts_with("++") {
// Possible content line prefixes when doing "git diff"
vec!["+ ", "++", " +", " -", "- "]
vec!["+ ", "++", " +", " -", "- ", " "]
} else {
vec![""]
};
Expand Down

0 comments on commit 1355279

Please sign in to comment.