Display word diff correctly when more than one word is modified in a line,
When more than one word is modified in a line, word differences are not displayed correctly (it highlights everything from the first modified word to the last modified word, instead of showing single word differences)
OK, I'm getting to remember the code of this project(since I've been long-time off from this project).
Now I can say it's intentional, as far as I remember original code used diff npm library to achieve what you are requesting, but I remember it makes output really mess.
https://github.com/samu/git-diff-details/issues/75
So, I want to close this issue with WONT FIX, but before that If you give me some example, I can discuss about it more practically.
This is when I removed use of diff lib.
https://github.com/t9md/atom-inline-git-diff/commit/34adc10b4c9fd90e79b4434732e4f5a383e78fcc
I think the removed code is similar to the one in your PR.