From 9e6169695de7777dfa5d149cc7ab97e6c41713d7 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 7 Oct 2020 11:30:48 +0100 Subject: [PATCH] Use the patience diff method --- plugin/settings.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/settings.vim b/plugin/settings.vim index 50e0983..0412abe 100644 --- a/plugin/settings.vim +++ b/plugin/settings.vim @@ -168,6 +168,11 @@ set modeline " Don't redraw during execution macros, registers, commands, etc. set lazyredraw +" When in diff mode, use the patience algorithm for more readable diffs. +if &diff + set diffopt+=algorithm:patience +endif + " Allow color schemes to do bright colors without forcing bold if &t_Co == 8 && $TERM !~# '^linux\|^Eterm' set t_Co=16