blob: 88691a17bba406cff35259d1295ebc6caa6c8c44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
This allows /usr/local/etc/vim/vimrc to be loaded as a system
vimrc. Note that creating that file will prevent loading
defaults.vim from Vim's runtime.
--- src/feature.h.orig 2022-09-04 15:48:55 UTC
+++ src/feature.h
@@ -710,12 +710,12 @@
/*
* SYS_VIMRC_FILE Name of the system-wide .vimrc file.
*/
-// #define SYS_VIMRC_FILE "/etc/vimrc"
+#define SYS_VIMRC_FILE "%%ETCDIR%%/vimrc"
/*
* SYS_GVIMRC_FILE Name of the system-wide .gvimrc file.
*/
-// #define SYS_GVIMRC_FILE "/etc/gvimrc"
+#define SYS_GVIMRC_FILE "%%ETCDIR%%/gvimrc"
/*
* DFLT_HELPFILE Name of the help file.
|