For example, the following two paragraphs should be considered as the same, as 
the TeX output would be exactly the same:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The  quick      brown
fox      jumps   over
the lazy          dog.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The quick brown fox jumps over
the lazy dog.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Multiple white spaces may be ignored via "diffopt+=iwhite", however, what about 
line breaks?

Is there a way to teach vimdiff to ignore any line break within a paragraph?

Not that I know of off the top of my head. However, at least on my Linux boxes, I have a "wdiff" tool available which could be used to show where differences occur with cross-line granularity. I don't know how well it could be made to integrate with Vim, but I use it occasionally for diffing flowing text. wdiff allows you to specify the start/end strings for marking insertions/deletions if that's of any help.

-tim



--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to