summaryrefslogtreecommitdiffstats
path: root/src/os_unix.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-28 22:24:15 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-28 22:24:15 +0200
commit8c08b5b569e2a9e9f63dea514591ecfa2d3bb392 (patch)
tree4303829cd42d4910ee0d0dfc35687c7b313c5e14 /src/os_unix.h
parenteac784eced501c54d2c99e18a1af96cd996f3a6c (diff)
patch 7.4.2111v7.4.2111
Problem: Defaults are very conservative. Solution: Move settings from vimrc_example.vim to defaults.vim. Load defaults.vim if no .vimrc was found.
Diffstat (limited to 'src/os_unix.h')
-rw-r--r--src/os_unix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os_unix.h b/src/os_unix.h
index b835df657f..4b3a3f10d2 100644
--- a/src/os_unix.h
+++ b/src/os_unix.h
@@ -303,6 +303,10 @@ typedef struct dsc$descriptor DESC;
# endif
#endif
+#ifndef VIM_DEFAULTS_FILE
+# define VIM_DEFAULTS_FILE "$VIMRUNTIME/defaults.vim"
+#endif
+
#ifndef EVIM_FILE
# define EVIM_FILE "$VIMRUNTIME/evim.vim"
#endif