forked from aniani/vim
patch 9.1.0327: No support for using $XDG_CONFIG_HOME
Problem: No support for using $XDG_CONFIG_HOME Solution: optionally source $XDG_CONFIG_HOME/vim/vimrc (Luca Saccarola) fixes: #2034 closes: #14182 Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
f9f5424d3e
commit
c9df1fb35a
@@ -3276,6 +3276,10 @@ source_startup_scripts(mparm_T *parmp)
|
||||
&& do_source((char_u *)USR_VIMRC_FILE2, TRUE,
|
||||
DOSO_VIMRC, NULL) == FAIL
|
||||
#endif
|
||||
#ifdef XDG_VIMRC_FILE
|
||||
&& do_source((char_u *)XDG_VIMRC_FILE, TRUE,
|
||||
DOSO_VIMRC, NULL) == FAIL
|
||||
#endif
|
||||
#ifdef USR_VIMRC_FILE3
|
||||
&& do_source((char_u *)USR_VIMRC_FILE3, TRUE,
|
||||
DOSO_VIMRC, NULL) == FAIL
|
||||
|
Reference in New Issue
Block a user