Open idbrii opened 7 years ago
Diff an svn file, switch to some other file (without calling :diffoff), and diff again and vimdiff thinks all the files are in the same diff and the highlighting of the two current diff windows looks wrong.
:diffoff
You can fix by calling diffoff when a diffed window is closed. Fugitive does this automatically. (fugitive also handles restoring diff settings when it does this: https://github.com/tpope/vim-fugitive/commit/a0f5c0445eca54b5ce9ed90275fd49feafc998fd )
Related to #8 (which implements this, but isn't a clean and dependency-free implementation).
Diff an svn file, switch to some other file (without calling
:diffoff
), and diff again and vimdiff thinks all the files are in the same diff and the highlighting of the two current diff windows looks wrong.You can fix by calling diffoff when a diffed window is closed. Fugitive does this automatically. (fugitive also handles restoring diff settings when it does this: https://github.com/tpope/vim-fugitive/commit/a0f5c0445eca54b5ce9ed90275fd49feafc998fd )
Related to #8 (which implements this, but isn't a clean and dependency-free implementation).