Skip to content

word-to-word highlight for multiple lines change #1

@dai-shi

Description

@dai-shi

Hi, thanks for this nice library. I found something that is different from the GitHub style.
It's about word-to-word highlight (BTW, the README says char-to-char, which actually is word-to-word, isn't it)

If you have multiple lines changed, this doesn't work.
The example input is the following:

diff --git a/foo.js b/foo.js

---
+++
@@ -1,4 +1,5 @@
+zero
 one
-two word
-three word
+to word
+tree word
 four

It would be so nice if this is supported.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions