summaryrefslogtreecommitdiff
path: root/src/dosinst.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-29 18:33:38 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-29 18:33:38 +0200
commitc73e4474b1f1b5b18a8d504eec5305e0c77981f7 (patch)
tree7ccf28d6938c39cf6660016ea1bbaaaf432e3c64 /src/dosinst.c
parentb9a46fec3e79d1fc8c406084a41733c647a5e535 (diff)
downloadvim-git-c73e4474b1f1b5b18a8d504eec5305e0c77981f7.tar.gz
patch 7.4.2116v7.4.2116
Problem: The default vimrc for Windows is very conservative. Solution: Use the defaults.vim in the Windows installer.
Diffstat (limited to 'src/dosinst.c')
-rw-r--r--src/dosinst.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dosinst.c b/src/dosinst.c
index 2362418a6..9a50cdbec 100644
--- a/src/dosinst.c
+++ b/src/dosinst.c
@@ -1153,10 +1153,9 @@ install_vimrc(int idx)
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;
}