>> I am wondering if there is any effort or any interest in improving >> the character diff in vim. Currently it only supports one longest >> match per line. I think it would be a nice feature if it were more >> robust. I may be motivated to do it if nobody else is or wants to. >> Any suggestions would be appreciated. > > I don't understand what you are saying. Can you give a few examples? > What commands are you talking about?
Sorry for the vagueness. I'm talking about the "Changed text inside a Changed line" as the vim docs say. AKA the portion of a diff that's shown using the DiffText highlight group. In fact, the docs describe better what I said in my original post: Vim finds the first character that is different, and the last character that is different (searching from the end of the line). The text in between is highlighted. This means that parts in the middle that are still the same are highlighted anyway. I'm proposing that this part of the diff go further and show all the changes by at least unhighlighting the characters that are not different if not going farther. In effect a more granular and accurate diff at the character level. Thanks, jdv --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
