Skip to content

Commit c73e447

Browse files
committed
patch 7.4.2116
Problem: The default vimrc for Windows is very conservative. Solution: Use the defaults.vim in the Windows installer.
1 parent b9a46fe commit c73e447

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/dosinst.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,10 +1153,9 @@ install_vimrc(int idx)
11531153
fprintf(fd, "set compatible\n");
11541154
break;
11551155
case compat_some_enhancements:
1156-
fprintf(fd, "set nocompatible\n");
1156+
fprintf(fd, "source $VIMRUNTIME/defaults.vim\n");
11571157
break;
11581158
case compat_all_enhancements:
1159-
fprintf(fd, "set nocompatible\n");
11601159
fprintf(fd, "source $VIMRUNTIME/vimrc_example.vim\n");
11611160
break;
11621161
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,8 @@ static char *(features[]) =
758758

759759
static int included_patches[] =
760760
{ /* Add new patch number below this line */
761+
/**/
762+
2116,
761763
/**/
762764
2115,
763765
/**/

0 commit comments

Comments
 (0)