patch 7.4.2116
Problem: The default vimrc for Windows is very conservative.
Solution: Use the defaults.vim in the Windows installer.
diff --git a/src/dosinst.c b/src/dosinst.c
index 2362418..9a50cdb 100644
--- a/src/dosinst.c
+++ b/src/dosinst.c
@@ -1153,10 +1153,9 @@
fprintf(fd, "set compatible\n");
break;
case compat_some_enhancements:
- fprintf(fd, "set nocompatible\n");
+ fprintf(fd, "source $VIMRUNTIME/defaults.vim\n");
break;
case compat_all_enhancements:
- fprintf(fd, "set nocompatible\n");
fprintf(fd, "source $VIMRUNTIME/vimrc_example.vim\n");
break;
}
diff --git a/src/version.c b/src/version.c
index 37aa255..f797f41 100644
--- a/src/version.c
+++ b/src/version.c
@@ -759,6 +759,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2116,
+/**/
2115,
/**/
2114,