Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion unified.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func ToUnified(from, to string, content string, edits []TextEdit) Unified {
//direct extension
case h != nil && start <= last+gap:
//within range of previous lines, add the joiners
addEqualLines(h, lines, last, start)
toLine += addEqualLines(h, lines, last, start)
default:
//need to start a new hunk
if h != nil {
Expand Down