AndrewRadev/linediff.vim — pull request #13 by jhoney (2014-03-18 03:37:36+00:00)
Title: Fix deleting more lines when folding is enabled

I use folding by default. When I try to save using this plugin, it deletes more lines than it should.
It was because my VIM regards a folding as single line when delete lines.
I found that opening all foldings before update original buffer fixes this issue.