You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this @stevemao, and sorry I didn't respond until now. I see that this is still a problem. It looks like delta does highlight now, but that we are still outputting the renamed line twice.
Example input is
diff --git a/src/edits.rs b/src/edit-renamed.rs
similarity index 99%
rename from src/edits.rs
rename to src/edit-renamed.rs
index 34ff14a..a92a606 100644
--- a/src/edits.rs+++ b/src/edit-renamed.rs@@ -5,6 +5,8 @@ use unicode_width::UnicodeWidthStr;
use crate::align;
+/// line added here+
/// Infer the edit operations responsible for the differences between a collection of old and new
/// lines. A "line" is a string. An annotated line is a Vec of (op, &str) pairs, where the &str
/// slices are slices of the line, and their concatenation equals the line. Return the input minus
It should display once and highlight the diffs
The text was updated successfully, but these errors were encountered: