From: Bram Moolenaar Date: Mon, 10 Sep 2018 19:15:40 +0000 (+0200) Subject: patch 8.1.0363: internal diff isn't used by default as advertised X-Git-Tag: v8.1.0363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c93262b2e3fb043c685bd4014a35a29111dea484;p=vim patch 8.1.0363: internal diff isn't used by default as advertised Problem: Internal diff isn't used by default as advertised. Solution: Add "internal" to the default value of 'diffopt'. Also add couple of files missing from the distribution. --- diff --git a/Filelist b/Filelist index 343a2bd5c..59415d3d2 100644 --- a/Filelist +++ b/Filelist @@ -273,6 +273,8 @@ SRC_ALL = \ src/libvterm/t/92lp1640917.test \ src/libvterm/t/harness.c \ src/libvterm/t/run-test.pl \ + src/xdiff/COPYING \ + src/xdiff/README.txt \ src/xdiff/xdiff.h \ src/xdiff/xdiffi.c \ src/xdiff/xdiffi.h \ diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 16aa42215..a02618af4 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -2615,7 +2615,7 @@ A jump table for the options with a short description can be found at |Q_op|. security reasons. *'dip'* *'diffopt'* -'diffopt' 'dip' string (default "filler") +'diffopt' 'dip' string (default "internal,filler") global {not in Vi} {not available when compiled without the |+diff| diff --git a/src/option.c b/src/option.c index 98ef98a27..f47549d72 100644 --- a/src/option.c +++ b/src/option.c @@ -1049,7 +1049,7 @@ static struct vimoption options[] = |P_NODUP, #ifdef FEAT_DIFF (char_u *)&p_dip, PV_NONE, - {(char_u *)"filler", (char_u *)NULL} + {(char_u *)"internal,filler", (char_u *)NULL} #else (char_u *)NULL, PV_NONE, {(char_u *)"", (char_u *)NULL} diff --git a/src/version.c b/src/version.c index 13c61b86a..853c86f58 100644 --- a/src/version.c +++ b/src/version.c @@ -794,6 +794,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 363, /**/ 362, /**/