forked from Lainports/opnsense-ports
21 lines
591 B
C
21 lines
591 B
C
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.
|