fix for old vim version sticking around

Mon, 15 Aug 2022 12:03:06 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 15 Aug 2022 12:03:06 -0500
changeset 998
6e682b7355ba
parent 997
9e1ec7624f59
child 999
f7bbd67b1aac

fix for old vim version sticking around

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -206,7 +206,9 @@ set shiftwidth=2
 set shiftround
 
 set formatoptions=cqln1j
-set diffopt=internal,filler,algorithm:patience
+if has("patch-8.1.0360")
+  set diffopt+=algorithm:patience
+endif
 
 set splitright splitbelow
 set scrolloff=15

mercurial